CI: Use pixi run for ctest command
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user