From 5c042addbd1eeb7cf0d40def2439f588768c7378 Mon Sep 17 00:00:00 2001 From: "mPanda.Red" Date: Thu, 14 Oct 2021 22:03:41 -0400 Subject: [PATCH] Use the CodeCov GitHub Action instead of the Bash Uploader --- .github/workflows/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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