Skip to content

Commit 240d16c

Browse files
committed
fix(ci): improve Nix test error reporting
Add better error output when Nix tests fail to help diagnose issues.
1 parent e063d7d commit 240d16c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,15 @@ jobs:
7979
run: nix flake check --print-build-logs
8080

8181
- name: Run tests (excluding benchmarks)
82-
run: nix run .#test -- '~[benchmark]'
82+
run: |
83+
# Run tests with verbose output
84+
nix run .#test -- '~[benchmark]' --reporter compact || {
85+
echo "❌ Tests failed. Checking test binary..."
86+
nix build .#openpfc-tests --print-build-logs
87+
echo "Test binary location:"
88+
nix path-info .#openpfc-tests
89+
exit 1
90+
}
8391
8492
# ============================================================================
8593
# CMake Build Matrix

0 commit comments

Comments
 (0)