From e5a362d0f52121572fb13b9fdcdf05df6490541a Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 24 Jan 2020 11:06:10 +0100 Subject: [PATCH] ci: GHA: use scripts/report-coverage.sh --- .github/workflows/main.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 607cb5877..1f16be6e6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -154,21 +154,9 @@ jobs: run: | python scripts/append_codecov_token.py - - name: Combine coverage + - name: Report coverage if: (!matrix.skip_coverage) - run: | - python -m coverage combine - python -m coverage xml - - - name: Codecov upload - if: (!matrix.skip_coverage) - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.codecov }} - file: ./coverage.xml - flags: GHA - fail_ci_if_error: false - name: ${{ matrix.name }} + run: bash scripts/report-coverage.sh -F GHA deploy: if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'pytest-dev/pytest'