From e554244cc8ca21a1224b24dc38ffc1a8fb73dea6 Mon Sep 17 00:00:00 2001 From: forbes Date: Tue, 27 Jan 2026 16:23:25 -0600 Subject: [PATCH] CI: Use pixi run for ctest command --- .gitea/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 286e3f4ad0..16ff7d9975 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -69,8 +69,7 @@ jobs: - name: Run C++ unit tests shell: bash run: | - cd build/release - ctest --output-on-failure --timeout 120 --verbose 2>&1 && exit 0 + pixi run ctest --test-dir build/release --output-on-failure --timeout 120 --verbose 2>&1 && exit 0 EXITCODE=$? echo "" echo "==========================================" @@ -78,10 +77,10 @@ jobs: echo "==========================================" echo "" echo "=== ctest output (last 200 lines) ===" - tail -200 Testing/Temporary/LastTest.log 2>/dev/null || echo "No LastTest.log found" + tail -200 build/release/Testing/Temporary/LastTest.log 2>/dev/null || echo "No LastTest.log found" echo "" echo "=== Failed tests ===" - cat Testing/Temporary/LastTestsFailed.log 2>/dev/null || echo "No LastTestsFailed.log found" + cat build/release/Testing/Temporary/LastTestsFailed.log 2>/dev/null || echo "No LastTestsFailed.log found" exit $EXITCODE - name: Install