Skip to content

Commit

Permalink
auto-generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aceisace committed Jun 3, 2023
1 parent 9486006 commit d66ea6b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: Clone repo
run: |
git clone --single-branch https://github.com/aceisace/Inkycal
git clone --single-branch https://github.com/aceinnolab/Inkycal
- name: Creating virtual environment
run: |
cd Inkycal
Expand All @@ -30,6 +30,15 @@ jobs:
run: |
pip install wheel
pip install -e ./
- name: generate docs
run: |
cd docsource
make html
- name: Deploy Docs to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ._build/html
- name: Setup test environment and run tests
env:
OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}
Expand All @@ -38,5 +47,5 @@ jobs:
TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }}
run: |
cd inkycal/tests
wget https://raw.githubusercontent.com/aceisace/Inkycal/assets/tests/settings.json
wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json
for f in *.py; do python3 "$f"; done

0 comments on commit d66ea6b

Please sign in to comment.