Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cbritopacheco committed Feb 9, 2025
1 parent e4441ea commit ec19663
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
-DRODIN_BUILD_BENCHMARKS=OFF
-DRODIN_BUILD_SRC=ON
-DRODIN_BUILD_UNIT_TESTS=ON
-DRODIN_LCOV_FLAGS="--ignore-errors gcov,gcov --ignore-errors mismatch"
-DRODIN_CODE_COVERAGE=ON
-DRODIN_MULTITHREADED=${{ matrix.multithreaded }}
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ if (RODIN_CODE_COVERAGE)
find_program(GCOV gcov REQUIRED)
endif()
add_custom_target(RodinCoverage
COMMAND ${LCOV} --ignore-errors gcov,gcov --gcov-tool ${GCOV} --capture --directory src --directory tests --output-file RodinCoverage.base.info
COMMAND ${LCOV} --ignore-errors gcov,gcov --gcov-tool ${GCOV} --remove RodinCoverage.base.info '/usr/*' '/opt/*' '*/tests/*' '*/third-party/*' '/Library/*' '/Applications/*' --output-file RodinCoverage.info
COMMAND ${LCOV} ${RODIN_LCOV_FLAGS} --gcov-tool ${GCOV} --capture --directory src --directory tests --output-file RodinCoverage.base.info
COMMAND ${LCOV} ${RODIN_LCOV_FLAGS} --gcov-tool ${GCOV} --remove RodinCoverage.base.info '/usr/*' '/opt/*' '*/tests/*' '*/third-party/*' '/Library/*' '/Applications/*' --output-file RodinCoverage.info
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
endif()
Expand Down

0 comments on commit ec19663

Please sign in to comment.