Use the CodeCov GitHub Action instead of the Bash Uploader

This commit is contained in:
mPanda.Red 2021-10-14 22:03:41 -04:00
parent 5fc7b21391
commit 5c042addbd
1 changed files with 7 additions and 1 deletions

View File

@ -169,7 +169,13 @@ jobs:
if: matrix.use_coverage && github.repository == 'pytest-dev/pytest'
env:
CODECOV_NAME: ${{ matrix.name }}
run: bash scripts/upload-coverage.sh -F GHA,${{ runner.os }}
uses: codecov/codecov-action@v2
with:
files: ./coverage1.xml
fail_ci_if_error: true
env_vars: OS,PYTHON
name: pytest-codecov
verbose: true
linting:
runs-on: ubuntu-latest