Skip to content

Commit

Permalink
Merge pull request #455 from currocam/master
Browse files Browse the repository at this point in the history
Use make test in CI
  • Loading branch information
bhaller authored Jul 15, 2024
2 parents 98dba8b + e589c0a commit 8bc26b9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ jobs:
- name: Test (Debug)
run: |
cd Debug
./eidos -testEidos
./slim -testEidos
./slim -testSLiM
make test
- name: Build (Release)
run: |
Expand All @@ -137,9 +135,7 @@ jobs:
- name: Test (Release)
run: |
cd Release
./eidos -testEidos
./slim -testEidos
./slim -testSLiM
make test
- name: Treesequence tests
run: |
Expand Down Expand Up @@ -313,9 +309,7 @@ jobs:
- name: Test (Release)
run: |
cd Release
./eidos -testEidos
./slim -testEidos
./slim -testSLiM
make test
- name: Treesequence tests
shell: bash -l {0}
Expand Down
10 changes: 8 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,14 @@ add_test(
NAME testSLiM
COMMAND ${TARGET_NAME_SLIM} -testSLiM
)
# test Eidos
# test Eidos from SLiM
add_test(
NAME testEidos
NAME testEidosSLiM
COMMAND ${TARGET_NAME_SLIM} -testEidos
)

# test Eidos from Eidos
add_test(
NAME testEidosEidos
COMMAND ${TARGET_NAME_EIDOS} -testEidos
)

0 comments on commit 8bc26b9

Please sign in to comment.