Skip to content

Commit

Permalink
Fix skip cpp ut error (#20)
Browse files Browse the repository at this point in the history
Signed-off-by: sunby <[email protected]>
  • Loading branch information
sunby committed Jul 13, 2023
1 parent d7a1f72 commit 9903deb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cpp-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# key: conan-${{ hashFiles('./cpp/conanfile.py') }}

- name : Test
working-directory: ./cpp/build
working-directory: ./cpp/build/Release
run:
ctest .

Expand Down
1 change: 1 addition & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ target_include_directories(storage PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src)
target_link_libraries(storage PUBLIC arrow::libarrow arrow::libparquet Boost::boost protobuf::protobuf)

if (WITH_UT)
enable_testing()
add_subdirectory(test)
endif()
3 changes: 3 additions & 0 deletions cpp/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ add_executable(
target_link_libraries(
milvus_test storage GTest::gtest_main
)

include(GoogleTest)
gtest_discover_tests(milvus_test)

0 comments on commit 9903deb

Please sign in to comment.