Skip to content

Commit

Permalink
fix: only one flag per upload
Browse files Browse the repository at this point in the history
  • Loading branch information
duttonw committed Dec 10, 2024
1 parent 7715778 commit 037512f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,18 @@ 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:
file: ./coverage.xml
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 }}

0 comments on commit 037512f

Please sign in to comment.