mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-26 03:17:39 -05:00
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>
17 lines
532 B
Bash
17 lines
532 B
Bash
#!/usr/bin/env bash
|
|
# 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 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 (suites=%s, engine=%s).\n' "$1" "$2" >&2
|
|
exit 1
|
|
fi
|
|
|
|
printf 'All required unit suites, the synthetic nests and Engine.Tests passed.\n'
|