1 parent 701da42 commit 19f6a5aCopy full SHA for 19f6a5a
1 file changed
.github/workflows/test.yml
@@ -91,13 +91,9 @@ jobs:
91
92
- name: Codecov
93
if: contains(matrix.extra_build_flags, 'coverage')
94
+ uses: codecov/codecov-action@v5
95
working-directory: ${{github.workspace}}/build
- run: |
96
- echo "Producing coverage reports..."
97
- find . -name catch_tests.cpp.gcno -exec gcov -pb {} +
98
-
99
- echo "Finding relevant report..."
100
- cov_report=$(find . -name "*scope_guard.hpp.gcov" -exec readlink -e {} +)
101
102
- echo "The report is ${cov_report}. Uploading to codecov..."
103
- bash <(curl -s https://codecov.io/bash) -f $cov_report
+ with:
+ token: ${{ secrets.CODECOV_TOKEN }}
+ files: . /**/*scope_guard.hpp.gcov
+ flags: unittests
0 commit comments