File tree Expand file tree Collapse file tree 2 files changed +43
-1
lines changed
Expand file tree Collapse file tree 2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 1+ name : CI - Master
2+
3+ on :
4+ merge :
5+ branches :
6+ - master
7+
8+ jobs :
9+ documentation :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+
14+ - uses : actions/setup-python@v2
15+ with :
16+ python-version : " 3.8"
17+
18+ - name : Install Poetry
19+ run : python -m pip install poetry poetry-dynamic-versioning
20+
21+ - uses : actions/cache@v2
22+ name : Cache Poetry dependencies
23+ with :
24+ path : |
25+ ~/.cache
26+ ~/.local/share/virtualenvs/
27+ key : ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
28+ restore-keys : |
29+ ${{ runner.os }}-poetry-
30+
31+ - name : Get dependencies
32+ run : poetry install
33+
34+ - name : Documentation
35+ run : make html
36+ working-directory : ./doc
37+
38+ - name : Deploy to GitHub Pages
39+ uses : peaceiris/actions-gh-pages@v3
40+ with :
41+ github_token : ${{ secrets.GITHUB_TOKEN }}
42+ publish_dir : ./doc/_build/html
43+ destination_dir : ./api
Original file line number Diff line number Diff line change 4848 # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4949 poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
5050
51-
5251 - name : Test in staging
5352 env :
5453 SDC_MONITOR_TOKEN : ${{ secrets.STAGING_MONITOR_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments