From d694bdfc0bf7378eff4564f7ef233fb378e5aab1 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 19 Jan 2020 23:45:41 +1100 Subject: [PATCH] Fixed Python coverage on Windows GHA --- .github/workflows/test-windows.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index ff438e37c..229de6c07 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -364,6 +364,13 @@ jobs: name: errors path: Tests/errors + - name: After success + if: success() + run: | + .ci/after_success.sh + env: + MATRIX_OS: ${{ matrix.os }} + - name: Prepare coverage token if: success() && github.repository == 'python-pillow/Pillow' run: cp .github/codecov-upstream.yml .codecov.yml @@ -373,6 +380,7 @@ jobs: uses: codecov/codecov-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} + file: ./coverage.xml name: ${{ runner.os }} Python ${{ matrix.python-version }} - name: Build wheel