Skip to content

Commit d368649

Browse files
authored
MNT use codecov action (#28)
1 parent 0fe33b3 commit d368649

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/run_tests.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [3.7, 3.8, 3.9, "3.10"]
14+
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
1515
max-parallel: 5
1616

1717
steps:
@@ -65,9 +65,13 @@ jobs:
6565
pip install -q pytest pytest-cov codecov
6666
pytest --cov=./
6767
68-
- name: Run codecov
69-
run: |
70-
codecov
68+
- name: Upload coverage to Codecov
69+
uses: codecov/codecov-action@v4
70+
with:
71+
env_vars: OS,PYTHON
72+
fail_ci_if_error: true
73+
token: ${{ secrets.CODECOV_TOKEN }}
74+
verbose: false
7175

7276
- name: Run some tutorials
7377
run: |

0 commit comments

Comments
 (0)