File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 needs : build
2828 # The type of runner that the job will run on
2929 runs-on : ubuntu-latest
30+ # work around lcov bug #316; remove once lcov is fixed (see https://github.com/linux-test-project/lcov/issues/316)
31+ env :
32+ LCOBUG : " --ignore-errors mismatch"
3033
3134 # Steps represent a sequence of tasks that will be executed as part of the job
3235 steps :
4144 - name : Test
4245 run : cd ./build && make test
4346 - name : Check code coverage
44- run : /usr/bin/lcov --directory ./build --capture --output-file ./build/coverage.info && /usr/bin/lcov --remove ./build/coverage.info "/usr/*" "*/googletest/googletest/*" --output-file ./build/coverage.info
47+ run : /usr/bin/lcov --directory ./build --capture --output-file ./build/coverage.info $LCOBUG && /usr/bin/lcov --remove ./build/coverage.info "/usr/*" "*/googletest/googletest/*" --output-file ./build/coverage.info
4548 - name : List coverage summary
4649 run : /usr/bin/lcov --list ./build/coverage.info
4750 - name : Upload report to codecov
You can’t perform that action at this time.
0 commit comments