Skip to content

Commit f934a7d

Browse files
authored
Use CTest to output when test fails (#303)
1 parent 7ce16aa commit f934a7d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Build project
1717
run: cd build && make -j
1818
- name: Test
19-
run: cd build && make test
19+
run: cd build && ctest --output-on-failure
2020
- name: Generate codecov report
2121
run: |
2222
cd build
@@ -40,7 +40,7 @@ jobs:
4040
- name: Build project
4141
run: cd build && make -j
4242
- name: Test
43-
run: cd build && make test
43+
run: cd build && ctest --output-on-failure
4444
cs8:
4545
runs-on: [self-hosted, cs8]
4646
steps:
@@ -50,7 +50,7 @@ jobs:
5050
- name: Build
5151
run: cd build && make -j
5252
- name: Test
53-
run: cd build && make test
53+
run: cd build && ctest --output-on-failure
5454
cc7:
5555
runs-on: [self-hosted, cc7]
5656
steps:
@@ -60,4 +60,4 @@ jobs:
6060
- name: Build
6161
run: cd build && make -j
6262
- name: Test
63-
run: cd build && make test
63+
run: cd build && ctest3 --output-on-failure

0 commit comments

Comments
 (0)