From ab687a12d11b5f2681e05b2c9aac2aab0e67f987 Mon Sep 17 00:00:00 2001 From: Pauljd Date: Mon, 9 Nov 2026 18:36:43 +0000 Subject: [PATCH] CI: list the failing tests when the gate fails Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2df06b46..d14a076a 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -15,3 +15,14 @@ jobs: with: { packages: 'platform-tools' } - name: Build, unit tests (provider contract suite included) and lint run: ORBIT_TOOLING=/nonexistent tools/verify.sh + - name: Which tests failed + if: failure() + run: | + grep -l "/dev/null | while read f; do + python3 - "$f" <<'PY' || true + import sys, xml.etree.ElementTree as ET + for case in ET.parse(sys.argv[1]).getroot().iter("testcase"): + for f in case.findall("failure"): + print(case.get("classname"), case.get("name"), "::", (f.get("message") or "")[:300]) + PY + done