Skip to content

Commit

Permalink
ci: replace upload-coverage script with codecov github action
Browse files Browse the repository at this point in the history
Same as what pytest does, hopefully will fix coverage upload failures.
  • Loading branch information
bluetech committed Apr 19, 2024
1 parent 29f104d commit 89ce829
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,12 @@ jobs:

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

deploy:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'pytest-dev/pluggy'
Expand Down
16 changes: 0 additions & 16 deletions scripts/upload-coverage.sh

This file was deleted.

0 comments on commit 89ce829

Please sign in to comment.