From 19422d2491562a37c8cceb9f4ca0b76f5982467b Mon Sep 17 00:00:00 2001 From: Ace Date: Sat, 3 Jun 2023 19:35:20 +0200 Subject: [PATCH] restore unittests --- .github/workflows/tests.yml | 10 ++++------ docsource/inkycal.rst | 5 +++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 640f164..017797f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,7 +31,6 @@ jobs: TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }} run: | cd Inkycal - echo "$PWD" python3 -m venv venv source venv/bin/activate python -m pip install --upgrade pip @@ -40,11 +39,10 @@ jobs: cd docsource && make html make github cd .. - # cd inkycal/tests - # wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json - # for f in *.py; do python3 "$f"; done - # cd .. && cd .. - + cd inkycal/tests + wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json + for f in *.py; do python3 "$f"; done + cd .. && cd .. git config --global user.name 'GitHub Actions' git config --global user.email 'actions@github.com' git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY diff --git a/docsource/inkycal.rst b/docsource/inkycal.rst index 53e609f..49255c7 100644 --- a/docsource/inkycal.rst +++ b/docsource/inkycal.rst @@ -1,5 +1,6 @@ -.. image:: ../Gallery/logo.png - :align: center +.. image:: https://raw.githubusercontent.com/aceisace/Inkycal/assets/Repo/logo.png + :alt: logo + :align: center Inkycal ===========================