Skip to content

Commit

Permalink
Merge pull request #30 from nnsnodnb/fix/coveralls
Browse files Browse the repository at this point in the history
Fix coveralls
  • Loading branch information
nnsnodnb authored Jan 2, 2022
2 parents fbd663d + b814261 commit 901cb36
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,23 @@ jobs:
run: |
python -m poetry run python -m pytest -v tests
python -m poetry run coverage report
python -m poetry run coveralls
- name: Upload coverage data to coveralls.io
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: ${{ matrix.python-version }}
COVERALLS_PARALLEL: true
run: python -m poetry run coveralls --service=github

coveralls:
name: Indicate completion to coveralls.io
needs: tests
runs-on: ubuntu-latest
container: python:3-slim
steps:
- name: Finished
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pip3 install -U coveralls
coveralls --service=github --finish

0 comments on commit 901cb36

Please sign in to comment.