Skip to content

Commit

Permalink
Use CI/CD to copy input datasets for python_bindings tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Popov-Dmitriy-Ivanovich committed Nov 17, 2023
1 parent 00ed0d3 commit 03820ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/bindings-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
shell: bash
run: |
cp test_input_data/WDC_satellites.csv src/python_bindings/
cp test_input_data/TestLong.csv src/python_bindings/
cp test_input_data/TestWide.csv src/python_bindings/
cp test_input_data/transactional_data/rules-kaggle-rows.csv /src/python_bindings/
pip install .
cd src/python_bindings
python test_bindings.py
10 changes: 0 additions & 10 deletions src/python_bindings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,3 @@ target_link_libraries(${BINDINGS_NAME} PRIVATE ${CMAKE_PROJECT_NAME}_lib)
if (PYTHON STREQUAL INSTALL)
install(TARGETS ${BINDINGS_NAME} LIBRARY DESTINATION .)
endif()

#copy test data to destination dirrectory
add_custom_command(TARGET ${BINDINGS_NAME}
COMMAND ${CMAKE_COMMAND} -E
copy ${CMAKE_SOURCE_DIR}/test_input_data/transactional_data/rules-kaggle-rows.csv
${CMAKE_SOURCE_DIR}/test_input_data/TestLong.csv
${CMAKE_SOURCE_DIR}/test_input_data/TestWide.csv
#${CMAKE_SOURcE_DIR}/test_input_data/WDC_satellites.csv
${CMAKE_CURRENT_SOURCE_DIR}
)

0 comments on commit 03820ff

Please sign in to comment.