Skip to content

Commit

Permalink
update codecov and artifact actions to v4 (#2492)
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin authored Jun 4, 2024
1 parent b44660d commit 3f35339
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI-Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:

- name: upload-coverage-artifact
if: ${{ matrix.domain == '32bit' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.domain }}-${{ matrix.chunk }}
path: coverage.info
Expand Down Expand Up @@ -216,13 +216,13 @@ jobs:
run: sudo apt-get update && sudo apt-get install lcov

- name: download-coverage-artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: merge-coverage-report
run: lcov $(for i in coverage-*-*/coverage.info; do echo -a $i; done) --output-file coverage.info

- name: upload-coverage-report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.info

0 comments on commit 3f35339

Please sign in to comment.