Skip to content

Commit

Permalink
Update to codecov/codecov-action@v5
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay committed Jan 9, 2025
1 parent 99d10e6 commit 95ba17d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,13 @@ jobs:
-t test
env:
CTEST_OUTPUT_ON_FAILURE: 1
- name: Aggregate coverage
run: >-
find ${{runner.workspace}}/build -name '*.gcda' |
xargs gcov -b -p -s ${{runner.workspace}}
- name: Upload coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v5
with:
directory: ${{github.workspace}}
gcov_args: -s ${{github.workspace}}
gcov_path_exclude: '*/CompilerIdC/*'
gcov_root_dir: ${{runner.workspace}}/build
token: ${{ secrets.CODECOV_TOKEN }}
working-directory: ${{github.workspace}}

0 comments on commit 95ba17d

Please sign in to comment.