Skip to content

Commit

Permalink
gh-actions: apply workaround for codecov/codecov-action#85
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Jul 7, 2020
1 parent 96642be commit da5cfef
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
- name: Test with tox
run: tox
- name: Upload to coverage
uses: codecov/[email protected]
with:
flags: ${{ matrix.python-version }}
# workaround for https://github.com/codecov/codecov-action/issues/85
if: >-
matrix.python-version == 3.8 && success()
run: |
GITHUB_ACTION= bash <(curl -s https://codecov.io/bash) -X search -f "./coverage.xml"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit da5cfef

Please sign in to comment.