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