File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 run : cd build && make
4949 - name : Run Unit Test
5050 run : /home/runner/work/RosettaStone/RosettaStone/build/bin/UnitTests
51+ - name : Collect coverage report
52+ run : |
53+ GCOV_TOOL="$(command -v gcov-${{ matrix.version }})"
54+ lcov --gcov-tool "${GCOV_TOOL}" --directory build --capture --output-file build/coverage.info
55+ lcov --gcov-tool "${GCOV_TOOL}" --remove build/coverage.info '/usr/*' '*/Tests/*' '*/build/*' --output-file build/coverage.info.cleaned
5156 - name : Upload Coverage Reports to Codecov
52- uses : codecov/codecov-action@v4
53- env :
54- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
57+ uses : codecov/codecov-action@v5
58+ with :
59+ fail_ci_if_error : true
60+ files : ./build/coverage.info.cleaned
61+ flags : unittests
62+ name : ubuntu-codecov
63+ token : ${{ secrets.CODECOV_TOKEN }}
64+ verbose : true
You can’t perform that action at this time.
0 commit comments