auto-generate docs
This commit is contained in:
parent
9486006e86
commit
d66ea6b27f
13
.github/workflows/tests.yml
vendored
13
.github/workflows/tests.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Clone repo
|
- name: Clone repo
|
||||||
run: |
|
run: |
|
||||||
git clone --single-branch https://github.com/aceisace/Inkycal
|
git clone --single-branch https://github.com/aceinnolab/Inkycal
|
||||||
- name: Creating virtual environment
|
- name: Creating virtual environment
|
||||||
run: |
|
run: |
|
||||||
cd Inkycal
|
cd Inkycal
|
||||||
@ -30,6 +30,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install wheel
|
pip install wheel
|
||||||
pip install -e ./
|
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
|
- name: Setup test environment and run tests
|
||||||
env:
|
env:
|
||||||
OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}
|
OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}
|
||||||
@ -38,5 +47,5 @@ jobs:
|
|||||||
TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }}
|
TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }}
|
||||||
run: |
|
run: |
|
||||||
cd inkycal/tests
|
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
|
for f in *.py; do python3 "$f"; done
|
||||||
|
Loading…
Reference in New Issue
Block a user