Skip to content

Commit

Permalink
Merge pull request #496 from bluetech/codecov-action
Browse files Browse the repository at this point in the history
ci: replace upload-coverage script with codecov github action
  • Loading branch information
bluetech committed Apr 19, 2024
2 parents 29f104d + 89ce829 commit 91f88d2
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 91f88d2

Please sign in to comment.