Skip to content

Commit 51ee214

Browse files
authored
Merge pull request #110 from gnikit/ci/bump-codecov-action
ci: bump coverage-action to v5
2 parents e17add7 + 87d3a6d commit 51ee214

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/main.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ jobs:
2121
- name: Setup
2222
run: pip install .[dev]
2323

24-
- name: Lint
25-
run: pre-commit run -a
26-
2724
- name: Unittests
2825
uses: coactions/setup-xvfb@v1
2926
with:
30-
run: coverage run -m pytest
27+
run: |
28+
coverage run -m pytest
3129
3230
- name: Upload coverage to Codecov
33-
uses: codecov/codecov-action@v3
31+
uses: codecov/codecov-action@v5
3432
with:
3533
token: ${{ secrets.CODECOV_TOKEN }}
36-
file: ./coverage.xml
34+
files: ./coverage.xml
35+
plugins: "gcov" # HACK: prevent codecov from running pytest-cov
36+
verbose: true
3737
fail_ci_if_error: true

0 commit comments

Comments
 (0)