Skip to content

Commit 5f230f6

Browse files
authored
Update Codecov action to v4 (ev-flow#627)
1 parent e966841 commit 5f230f6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/pytest.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,12 @@ jobs:
5858
run: |
5959
python -m pip install black pytest sphinx sphinx-rtd-theme
6060
python -m pip install coveralls pytest-cov
61-
pytest --cov=./
61+
pytest --cov=./ --cov-report=xml
6262
6363
- name: Upload coverage to Codecov
64-
uses: codecov/codecov-action@v3
64+
uses: codecov/codecov-action@v4
6565
with:
66-
flags: unittests
6766
fail_ci_if_error: true
67+
flags: unittests
68+
token: ${{ secrets.CODECOV_TOKEN }}
6869

codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
ignore:
2-
- "*/tests/*
2+
- "*/tests/*"

0 commit comments

Comments
 (0)