Skip to content

Commit 89ce829

Browse files
committed
ci: replace upload-coverage script with codecov github action
Same as what pytest does, hopefully will fix coverage upload failures.
1 parent 29f104d commit 89ce829

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

Diff for: .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'

Diff for: scripts/upload-coverage.sh

-16
This file was deleted.

0 commit comments

Comments
 (0)