diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce8a237de..039a19f26 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,7 @@ jobs: - name: Build libCellML run: cmake --build build - name: Unit testing - run: cmake --build build --target test + run: ctest --test-dir build --output-on-failure javascript: name: JavaScript runs-on: macos-latest diff --git a/.github/workflows/release-finalise.yml b/.github/workflows/release-finalise.yml index 9a9175e22..b362b8893 100644 --- a/.github/workflows/release-finalise.yml +++ b/.github/workflows/release-finalise.yml @@ -370,7 +370,7 @@ jobs: - name: Run unit tests if: ${{ inputs.successful }} - run: cmake --build build --target test + run: ctest --test-dir build --output-on-failure - name: Push to main if: ${{ inputs.successful }}