Skip to content

Commit

Permalink
Use coverage program to run coverage in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tnipen committed Mar 9, 2024
1 parent 761f017 commit 54dcc7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swig/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ if (ENABLE_TESTS)
${CMAKE_SOURCE_DIR}/tests
${CMAKE_CURRENT_BINARY_DIR}/tests)

add_custom_target(tests COMMAND ${PYTHON_EXECUTABLE} -m nose -e memory)
add_custom_target(tests COMMAND ${PYTHON_EXECUTABLE} -m coverage run -m unittest discover)
add_dependencies(tests tests-data build-python)
endif()

0 comments on commit 54dcc7c

Please sign in to comment.