Skip to content

Commit

Permalink
Merge pull request #588 from awvwgk/cmake2
Browse files Browse the repository at this point in the history
Error on no tests in CTest
  • Loading branch information
jvdp1 authored Dec 8, 2021
2 parents 7758a1d + b726495 commit a457d88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ jobs:
with:
python-version: 3.x

- name: Install CMake Linux
if: contains(matrix.os, 'ubuntu')
run: ci/install_cmake.sh

- name: Install fypp
run: pip install --upgrade fypp

Expand Down Expand Up @@ -85,7 +81,12 @@ jobs:

- name: test
if: ${{ contains(matrix.build, 'cmake') }}
run: ctest --test-dir ${{ env.BUILD_DIR }} --parallel --output-on-failure
run: >-
ctest
--test-dir ${{ env.BUILD_DIR }}
--parallel
--output-on-failure
--no-tests=error
- name: Install project
if: ${{ contains(matrix.build, 'cmake') }}
Expand Down Expand Up @@ -123,10 +124,6 @@ jobs:
with:
python-version: 3.x

- name: Install CMake Linux
if: contains(matrix.os, 'ubuntu')
run: ci/install_cmake.sh

- name: Prepare for cache restore (OSX)
if: contains(matrix.os, 'macos')
run: |
Expand Down Expand Up @@ -197,7 +194,7 @@ jobs:
if: failure()

- name: test
run: ctest --parallel --output-on-failure
run: ctest --parallel --output-on-failure --no-tests=error
working-directory: build

- name: Install project
Expand Down
7 changes: 0 additions & 7 deletions ci/install_cmake.sh

This file was deleted.

0 comments on commit a457d88

Please sign in to comment.