diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f00f02f43..309152438 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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