chore: PWD

This commit is contained in:
Francois Best 2021-08-10 09:40:33 +02:00
parent 6341d57c27
commit 17d141a8b2
1 changed files with 2 additions and 1 deletions

View File

@ -48,12 +48,13 @@ jobs:
- name: Run Unit Tests - name: Run Unit Tests
working-directory: ${{github.workspace}}/build working-directory: ${{github.workspace}}/build
run: ./test/unit-tests/unit-tests run: ctest --verbose
- name: Prune external code coverage - name: Prune external code coverage
run: rm -rf ./external/google-test/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.gcda run: rm -rf ./external/google-test/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.gcda
- name: Generate code coverage report - name: Generate code coverage report
working-directory: ${{github.workspace}}/build
run: | run: |
lcov --directory . --capture --output-file coverage.info lcov --directory . --capture --output-file coverage.info
lcov --remove coverage.info 'test/*' '/usr/*' 'external/*' --output-file coverage.info lcov --remove coverage.info 'test/*' '/usr/*' 'external/*' --output-file coverage.info