Skip to content

Commit 91f88d2

Browse files
authored
Merge pull request #496 from bluetech/codecov-action
ci: replace upload-coverage script with codecov github action
2 parents 29f104d + 89ce829 commit 91f88d2

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

.github/workflows/main.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,12 @@ jobs:
110110

111111
- name: Upload coverage
112112
if: matrix.use_coverage && github.repository == 'pytest-dev/pluggy'
113-
env:
114-
CODECOV_NAME: ${{ matrix.name }}
115-
run: bash scripts/upload-coverage.sh -F GHA,${{ runner.os }}
113+
uses: codecov/codecov-action@v4
114+
continue-on-error: true
115+
with:
116+
fail_ci_if_error: true
117+
files: ./coverage.xml
118+
verbose: true
116119

117120
deploy:
118121
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'pytest-dev/pluggy'

scripts/upload-coverage.sh

-16
This file was deleted.

0 commit comments

Comments
 (0)