Files
OrbitTv/.gitea/workflows/ci.yml
T
pauljdandClaude Opus 5.5 ab687a12d1
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
CI: list the failing tests when the gate fails
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 18:36:43 +00:00

29 lines
1.4 KiB
YAML

# Orbit's release gate on every push (8 November 2026). Runs where the git server has an Actions runner; the same
# checks run locally with tools/verify.sh. GitHub Actions reads the same syntax, for the public repository later.
name: release-gate
on: [push, pull_request]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with: { distribution: temurin, java-version: '17' }
- uses: android-actions/setup-android@v3
# Its default asks for the old 'tools' package, which the SDK no longer has (first run, 9 November 2026).
# Gradle fetches the platform and build tools the project names.
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