Loading .gitlab-ci.yml +9 −0 Original line number Diff line number Diff line Loading @@ -95,6 +95,15 @@ integration tests: paths: - "${INTEGRATION_TESTS_RUN_PATH}" unit: stage: test script: - ctest -j $(nproc) -L unit::all artifacts: when: on_failure paths: - Testing test wr: stage: test script: Loading tests/unit/CMakeLists.txt +3 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,9 @@ target_link_libraries(tests # to auto-discover Catch tests and register them in CTest set(CMAKE_MODULE_PATH "${catch2_SOURCE_DIR}/contrib" ${CMAKE_MODULE_PATH}) include(Catch) catch_discover_tests(tests) catch_discover_tests(tests PROPERTIES LABELS "unit::all" ) if(GKFS_INSTALL_TESTS) install(TARGETS tests Loading Loading
.gitlab-ci.yml +9 −0 Original line number Diff line number Diff line Loading @@ -95,6 +95,15 @@ integration tests: paths: - "${INTEGRATION_TESTS_RUN_PATH}" unit: stage: test script: - ctest -j $(nproc) -L unit::all artifacts: when: on_failure paths: - Testing test wr: stage: test script: Loading
tests/unit/CMakeLists.txt +3 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,9 @@ target_link_libraries(tests # to auto-discover Catch tests and register them in CTest set(CMAKE_MODULE_PATH "${catch2_SOURCE_DIR}/contrib" ${CMAKE_MODULE_PATH}) include(Catch) catch_discover_tests(tests) catch_discover_tests(tests PROPERTIES LABELS "unit::all" ) if(GKFS_INSTALL_TESTS) install(TARGETS tests Loading