Use the CodeCov GitHub Action instead of the Bash Uploader
This commit is contained in:
parent
5fc7b21391
commit
5c042addbd
|
@ -169,7 +169,13 @@ jobs:
|
||||||
if: matrix.use_coverage && github.repository == 'pytest-dev/pytest'
|
if: matrix.use_coverage && github.repository == 'pytest-dev/pytest'
|
||||||
env:
|
env:
|
||||||
CODECOV_NAME: ${{ matrix.name }}
|
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:
|
linting:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue