CI: list the failing tests when the gate fails
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 2m54s
release-gate / verify (push) Failing after 5m51s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 2m17s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-09 18:36:43 +00:00
co-authored by Claude Opus 5.5
parent a622bd8e47
commit ab687a12d1
+11
View File
@@ -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 "<failure" android/app/build/test-results/testDebugUnitTest/*.xml 2>/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