Skip to content

Commit fde0768

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

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/tox.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
max-parallel: 4
1818
matrix:
19-
python-version: [3.5, 3.6, 3.7, 3.8]
19+
python-version: [3.8] #[3.5, 3.6, 3.7, 3.8]
2020

2121
steps:
2222
- uses: actions/checkout@v1
@@ -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+
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)