From 07d8905249b6ec2110dad440e9b81202566c4f77 Mon Sep 17 00:00:00 2001 From: Hugh Sorby Date: Mon, 15 Jun 2026 17:10:50 +1200 Subject: [PATCH] Replace cmake --build build --target --test with ctest --test-dir build --output-on-failure. --- .github/workflows/ci.yml | 2 +- .github/workflows/release-finalise.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }}