File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI tests
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ test :
7+ runs-on : ubuntu-20.04
8+ env :
9+ READTHEDOCS : " True" # work around bleak import error
10+ steps :
11+ - uses : actions/checkout@v2
12+ - run : pipx install poetry
13+ - uses : actions/setup-python@v2
14+ with :
15+ python-version : ' 3.8'
16+ - run : poetry install
17+ - run : poetry run pytest
18+ - run : poetry run flake8 --show-source
19+ if : ${{ success() || failure() }}
20+ - run : poetry run black --check --diff
21+ if : ${{ success() || failure() }}
22+ - run : poetry run make -C docs/ html
23+ if : ${{ success() || failure() }}
24+ - run : poetry run coverage run
25+ - run : |
26+ pipx install coveralls
27+ pipx inject coveralls toml
28+ - run : coveralls --service=github
29+ env :
30+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments