From 037512f6c07eed8938cd259f3dffc217201c27a1 Mon Sep 17 00:00:00 2001 From: William Dutton Date: Wed, 11 Dec 2024 06:41:43 +1000 Subject: [PATCH] fix: only one flag per upload --- .github/workflows/test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 45c11187..8c89f47c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -98,7 +98,7 @@ jobs: paths: "/tmp/artifacts/junit/*.xml" if: always() - - name: Upload coverage report to codecov + - name: "Upload coverage report to codecov flag: ${{ matrix.ckan-version }}" uses: codecov/codecov-action@v5 continue-on-error: ${{ matrix.experimental }} with: @@ -106,10 +106,10 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} flags: "${{ matrix.ckan-version }}" - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 + - name: Upload coverage report to codecov (no flags) + uses: codecov/codecov-action@v5 + continue-on-error: ${{ matrix.experimental }} with: - flags: "${{ matrix.ckan-version }}" - files: "/tmp/artifacts/junit/results.xml" + file: ./coverage.xml token: ${{ secrets.CODECOV_TOKEN }} +