From 95ba17dd525de44123991e72910298376ddd6b84 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Tue, 7 Jan 2025 21:50:29 -0600 Subject: [PATCH] Update to codecov/codecov-action@v5 --- .github/workflows/ci.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c1447b4..a7718a9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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}}