Skip to content

Commit

Permalink
Merge pull request #108 from g-as/bugfix/coveralls
Browse files Browse the repository at this point in the history
fixed coverage upload to coveralls
  • Loading branch information
gforcada committed Oct 15, 2021
2 parents ba59252 + d6fe23c commit 52d5fe5
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ jobs:
run: flake8 *.py
- name: pytest
run: pytest -v --cov flake8_isort --cov-report term-missing
- name: Coveralls
uses: coverallsapp/github-action@master
if: ${{ always() }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fail_ci_if_error: true
verbose: true
- name: Upload coverage
run: |
python -m pip install coveralls
coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 52d5fe5

Please sign in to comment.