Skip to content

Commit 9a355ee

Browse files
fix codecov
1 parent 5b339e8 commit 9a355ee

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/python.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-20.04
99
strategy:
1010
matrix:
11-
python-version: [ "3.5.9","3.6", "3.7", "3.8", "3.9" ]
11+
python-version: [ "3.5","3.6", "3.7", "3.8", "3.9" ]
1212

1313
steps:
1414
- uses: actions/checkout@v3
@@ -31,15 +31,14 @@ jobs:
3131
pytest --cov=./ --cov-report=xml
3232
3333
- name: Upload coverage to Codecov
34-
uses: codecov/codecov-action@v2
34+
uses: codecov/codecov-action@v4
3535
with:
36-
directory: ./coverage/reports/
3736
env_vars: OS,PYTHON
3837
fail_ci_if_error: true
3938
files: ./coverage1.xml,./coverage2.xml
4039
flags: unittests
4140
name: codecov-umbrella
42-
path_to_write_report: ./coverage/codecov_report.txt
41+
token: ${{ secrets.CODECOV_TOKEN }}
4342
verbose: true
4443

4544
- name: Build package

0 commit comments

Comments
 (0)