Skip to content

Commit

Permalink
Add testing to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
djowel committed Aug 30, 2024
1 parent 0d25623 commit d8a352e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,7 @@ jobs:
if (NOT result EQUAL 0)
message(FATAL_ERROR "Could not run with ${CMAKE_COMMAND}: Got ${error_message} - ${result}")
endif()
- name: Test
run: ctest --verbose --test-dir build
shell: bash
5 changes: 4 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,7 @@ file(
# Copy golden folder to the binary dir
file(
COPY golden
DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
DESTINATION ${CMAKE_CURRENT_BINARY_DIR})

include(CTest)
add_test(NAME fft_test COMMAND fft_test)

0 comments on commit d8a352e

Please sign in to comment.