Skip to content

Commit b726495

Browse files
committed
Error on no tests
1 parent 22c1be0 commit b726495

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ jobs:
4343
with:
4444
python-version: 3.x
4545

46-
- name: Install CMake Linux
47-
if: contains(matrix.os, 'ubuntu')
48-
run: ci/install_cmake.sh
49-
5046
- name: Install fypp
5147
run: pip install --upgrade fypp
5248

@@ -85,7 +81,12 @@ jobs:
8581

8682
- name: test
8783
if: ${{ contains(matrix.build, 'cmake') }}
88-
run: ctest --test-dir ${{ env.BUILD_DIR }} --parallel --output-on-failure
84+
run: >-
85+
ctest
86+
--test-dir ${{ env.BUILD_DIR }}
87+
--parallel
88+
--output-on-failure
89+
--no-tests=error
8990
9091
- name: Install project
9192
if: ${{ contains(matrix.build, 'cmake') }}
@@ -123,10 +124,6 @@ jobs:
123124
with:
124125
python-version: 3.x
125126

126-
- name: Install CMake Linux
127-
if: contains(matrix.os, 'ubuntu')
128-
run: ci/install_cmake.sh
129-
130127
- name: Prepare for cache restore (OSX)
131128
if: contains(matrix.os, 'macos')
132129
run: |
@@ -197,7 +194,7 @@ jobs:
197194
if: failure()
198195

199196
- name: test
200-
run: ctest --parallel --output-on-failure
197+
run: ctest --parallel --output-on-failure --no-tests=error
201198
working-directory: build
202199

203200
- name: Install project

ci/install_cmake.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)