ci: run fewer, shorter test jobs per push

Runners bill each job rounded up to the minute, and every job restored
and built the shared projects again. The small suites and the synthetic
nests now share one job that builds once; Engine.Tests, the longest,
runs beside it. A newer push cancels a stale run, and pushes that change
only docs or Markdown skip CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ajandClaude Opus 5.5 committed 2026-11-23 16:24:55 -05:00
1 parent 4c6a95bddd
commit aa7ee2035f
5 files changed
+59 -38

No files matched your search

+5 -4
View File
@@ -1,15 +1,16 @@
#!/usr/bin/env bash
# The stable final CI check succeeds only when both required job groups succeeded.
# The stable final CI check succeeds only when both required test jobs succeeded:
# the shared suites job (with the synthetic nests) and Engine.Tests.
set -euo pipefail
if [[ $# -ne 2 ]]; then
printf 'Expected unit-test and synthetic-nest job results.\n' >&2
printf 'Expected suites and engine-tests job results.\n' >&2
exit 1
fi
if [[ "$1" != success || "$2" != success ]]; then
printf 'Required CI jobs did not both succeed (unit=%s, synthetic=%s).\n' "$1" "$2" >&2
printf 'Required CI jobs did not both succeed (suites=%s, engine=%s).\n' "$1" "$2" >&2
exit 1
fi
printf 'All required unit suites and the synthetic-nest gate passed.\n'
printf 'All required unit suites, the synthetic nests and Engine.Tests passed.\n'
+2 -2
View File
@@ -21,10 +21,10 @@ class CIResultsTests(unittest.TestCase):
def test_both_required_jobs_successful(self):
self.assertEqual(self.check("success", "success").returncode, 0)
def test_unit_matrix_failure_blocks_aggregate(self):
def test_suites_failure_blocks_aggregate(self):
self.assertNotEqual(self.check("failure", "success").returncode, 0)
def test_synthetic_failure_blocks_aggregate(self):
def test_engine_failure_blocks_aggregate(self):
self.assertNotEqual(self.check("success", "failure").returncode, 0)
def test_canceled_dependency_blocks_aggregate(self):