diff --git a/.github/codecov-upstream.yml b/.github/codecov-upstream.yml deleted file mode 100644 index 09a786fda..000000000 --- a/.github/codecov-upstream.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Documentation: https://docs.codecov.io/docs/codecov-yaml - -codecov: - # Avoid "Missing base report" due to committing CHANGES.rst with "[CI skip]" - # https://github.com/codecov/support/issues/363 - # https://docs.codecov.io/docs/comparing-commits - allow_coverage_offsets: true - - token: 6dafc396-e7f5-4221-a38a-8b07a49fbdae - -comment: false - -# Matches 'omit:' in .coveragerc -ignore: - - "Tests/32bit_segfault_check.py" - - "Tests/bench_cffi_access.py" - - "Tests/check_*.py" - - "Tests/createfontdatachunk.py" diff --git a/.github/workflows/test-docker.yml b/.github/workflows/test-docker.yml index 861505786..c10f9af3e 100644 --- a/.github/workflows/test-docker.yml +++ b/.github/workflows/test-docker.yml @@ -58,14 +58,9 @@ jobs: env: MATRIX_DOCKER: ${{ matrix.docker }} - - name: Prepare coverage token - if: success() && github.repository == 'python-pillow/Pillow' - run: cp .github/codecov-upstream.yml codecov.yml - - name: Upload coverage if: success() uses: codecov/codecov-action@v1 with: - token: ${{ secrets.CODECOV_TOKEN }} flags: GHA_Docker name: ${{ matrix.docker }} diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 9853d425e..6ae410a64 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -357,15 +357,10 @@ jobs: .ci/after_success.sh shell: pwsh - - name: Prepare coverage token - if: success() && github.repository == 'python-pillow/Pillow' - run: cp .github/codecov-upstream.yml codecov.yml - - name: Upload coverage if: success() uses: codecov/codecov-action@v1 with: - token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml flags: GHA_Windows name: ${{ runner.os }} Python ${{ matrix.python-version }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 137cc750a..daa912278 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -100,13 +100,8 @@ jobs: run: | .ci/after_success.sh - - name: Prepare coverage token - if: success() && github.repository == 'python-pillow/Pillow' - run: cp .github/codecov-upstream.yml codecov.yml - - name: Upload coverage if: success() run: bash <(curl -s https://codecov.io/bash) -F ${{ matrix.codecov-flag }} env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} CODECOV_NAME: ${{ matrix.os }} Python ${{ matrix.python-version }}