Skip to content

Commit da5cfef

Browse files
committed
gh-actions: apply workaround for codecov/codecov-action#85
1 parent 96642be commit da5cfef

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/tox.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
- name: Test with tox
3232
run: tox
3333
- name: Upload to coverage
34-
uses: codecov/[email protected]
35-
with:
36-
flags: ${{ matrix.python-version }}
34+
# workaround for https://github.com/codecov/codecov-action/issues/85
35+
if: >-
36+
matrix.python-version == 3.8 && success()
37+
run: |
38+
GITHUB_ACTION= bash <(curl -s https://codecov.io/bash) -X search -f "./coverage.xml"
39+
env:
40+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)