Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 67a3b8a

Browse files
committedJan 6, 2020
ci: have at least one CTest run in parallel per platform
...this help detect race conditions between tests, besides speeding up test
1 parent 94adcdc commit 67a3b8a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed
 

‎.github/workflows/CI.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,15 @@ jobs:
5555
run: cmake -Wdev -DCMAKE_BUILD_TYPE=Release -S . -B build
5656

5757
- name: Build and compile
58-
run: cmake --build build || cmake --build build --verbose --parallel 1
58+
run: cmake --build build
59+
60+
- run: cmake --build build --verbose --parallel 1
61+
if: failure()
5962

6063
- name: test
61-
run: cmake --build build --target test
64+
run: ctest --parallel
65+
working-directory: build
66+
6267

6368
- name: Test in-tree builds
6469
if: contains( matrix.gcc_v, '9') # Only test one compiler on each platform

0 commit comments

Comments
 (0)
Please sign in to comment.