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