Skip to content

Commit ab574be

Browse files
committed
PIQP win diag: capture conic.py failure summary
1 parent 43106c3 commit ab574be

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/piqp-windows-lp.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,9 @@ jobs:
3535
export SKIP_WORHP_TESTS=1 # known unrelated worhp crash
3636
cd src/test/python
3737
python -c "import casadi; print('casadi',casadi.__version__,'piqp',casadi.has_conic('piqp'))"
38-
echo "==== full conic.py ===="; python conic.py 2>&1 | tail -60 || echo "EXIT=$?"
38+
echo "==== full conic.py ===="
39+
python conic.py > out.txt 2>&1 || echo "EXIT=$?"
40+
echo "---- failure summary ----"
41+
grep -nE "ERROR:|FAIL:|FAILED|errors=|Ran [0-9]+ tests" out.txt || true
42+
echo "---- traceback context ----"
43+
grep -nA 12 "ERROR: " out.txt | head -60 || true

0 commit comments

Comments
 (0)