Skip to content

Commit

Permalink
debug integ-test
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoby committed Jul 8, 2024
1 parent 2e02f39 commit 8b39958
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ runs:
ZITI_LOG: "4"
if: inputs.test == 'true'
working-directory: ./build
continue-on-error: true
shell: bash
run: |
ctest -VV --no-compress-output -C ${{ inputs.config }} -R quickstart-test
4 changes: 3 additions & 1 deletion tests/integ/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ add_custom_target(ziti-cli ALL
)

add_custom_target(cleanup-qs
COMMAND cat -n /etc/hosts
COMMAND cat -n ${qs_home}/ctrl.yaml
COMMAND ${CMAKE_COMMAND} -E remove_directory "${qs_home}"
)

Expand Down Expand Up @@ -88,7 +90,7 @@ set_tests_properties(quickstart-test PROPERTIES
)

add_test(NAME quickstart-cleanup
COMMAND rm -rf ${qs_home}
COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target cleanup-qs
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
set_tests_properties(quickstart-cleanup PROPERTIES
Expand Down

0 comments on commit 8b39958

Please sign in to comment.