diff --git a/.github/workflows/pm-stack-tests.yml b/.github/workflows/pm-stack-tests.yml index b82068aaa3..0a5ec7eaed 100644 --- a/.github/workflows/pm-stack-tests.yml +++ b/.github/workflows/pm-stack-tests.yml @@ -8,7 +8,7 @@ permissions: jobs: test: - name: aggregator + projector + python suites + name: aggregator + projector + dispatch + python suites runs-on: ubuntu-latest timeout-minutes: 15 steps: @@ -36,6 +36,25 @@ jobs: working-directory: pm-stack/projector run: bun test + - name: Install dispatch dependencies + working-directory: pm-stack/dispatch + run: bun install --frozen-lockfile + + # Bun suite for #6090: pm-stack/dispatch/test/ (131 tests, incl. + # the #4917 launch-failure compensation / orphan-cleanup pins in + # launch_failure.test.ts) was run by no workflow. The test + # directory is asserted to exist and hold *.test.ts files first, + # so a green run cannot be a silently skipped suite; any failure + # in the suite fails the job. + - name: Test dispatch + working-directory: pm-stack/dispatch + run: | + if [ ! -d test ] || ! ls test/*.test.ts >/dev/null 2>&1; then + echo "::error::Missing dispatch test suite — pm-stack/dispatch/test has no *.test.ts files; the dispatch suite was not run." + exit 1 + fi + bun test + - name: Test seed and deploy/install scripts run: | bash pm-stack/scripts/seed-smoke.test.sh