Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
needs: build
# The type of runner that the job will run on
runs-on: ubuntu-latest
# work around lcov bug #316; remove once lcov is fixed (see https://github.com/linux-test-project/lcov/issues/316)
env:
LCOBUG: "--ignore-errors mismatch"

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -41,7 +44,7 @@ jobs:
- name: Test
run: cd ./build && make test
- name: Check code coverage
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
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
- name: List coverage summary
run: /usr/bin/lcov --list ./build/coverage.info
- name: Upload report to codecov
Expand Down