Skip to content

Commit

Permalink
Merge pull request #40 from naviqore/feature/enable-tests-in-ci
Browse files Browse the repository at this point in the history
Feature/enable tests in ci
  • Loading branch information
Brunner246 authored Sep 24, 2024
2 parents b71b38b + 455eee1 commit 20288f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,3 @@ jobs:
echo "Contents of output directory:"
ls -R ${{ github.workspace }}/output/bin/release
# - name: Run tests
# run: |
# ctest --test-dir ${{ github.workspace }}/output/bin/release --output-on-failure -C Release
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ else ()
message(WARNING "You are using an unsupported compiler! Compilation has only been tested with MSVC, GCC and Clang.")
endif ()

include(CTest)
enable_testing()

configure_file(
"src/ProjectConfig.h.in"
"${PROJECT_BINARY_DIR}/ProjectConfig.h"
Expand Down Expand Up @@ -64,6 +67,3 @@ add_subdirectory(test/test_gtfsRaptorConfig)
# BECHMARKS
add_subdirectory(benchmark/benchmark_schedule)
add_subdirectory(benchmark/benchmark_gtfsRaptor)

include(CTest)
enable_testing()

0 comments on commit 20288f4

Please sign in to comment.