File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -63,12 +63,15 @@ jobs:
6363 cmake --build build --target all || exit 1
6464 ctest --test-dir build || exit 1
6565
66- - name : Upload coverage to Codecov
66+ - name : Generate coverage
6767 working-directory : build
6868 run : |
6969 # Create lcov report
7070 lcov --capture --directory . --output-file coverage.info --ignore-errors mismatch
7171 lcov --remove coverage.info '/usr/*' --output-file coverage.info # filter system-files
7272 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"
73+ - name : Upload coverage to Codecov
74+ uses : codecov/codecov-action@v3
75+ with :
76+ files : build/coverage.info
77+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments