We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 876a09b commit 765de1fCopy full SHA for 765de1f
1 file changed
.github/workflows/coverage.yml
@@ -63,12 +63,15 @@ jobs:
63
cmake --build build --target all || exit 1
64
ctest --test-dir build || exit 1
65
66
- - name: Upload coverage to Codecov
+ - name: Generate coverage
67
working-directory: build
68
run: |
69
# Create lcov report
70
lcov --capture --directory . --output-file coverage.info --ignore-errors mismatch
71
lcov --remove coverage.info '/usr/*' --output-file coverage.info # filter system-files
72
lcov --list coverage.info # debug info
73
- # Uploading report to CodeCov
74
- bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports"
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v3
75
+ with:
76
+ files: build/coverage.info
77
+ token: ${{ secrets.CODECOV_TOKEN }}
0 commit comments