From f05069828665565e58b7f4e2754fc02d762a79b6 Mon Sep 17 00:00:00 2001 From: "developing-today[bot]" <5454422+developing-today[bot]@users.noreply.github.com> Date: Wed, 4 Nov 2026 00:25:22 -0600 Subject: [PATCH] ci(pm-stack): run projector tests on pull requests (#2936) pm-aggregator-tests.yml is the pm-stack PR workflow (pull_request, pm-stack/** paths) but only tested the aggregator; the projector suite ran only in pm-stack-tests.yml on push to main, after merge. Add a projector job mirroring the main workflow projector steps (bun install --frozen-lockfile + bun test in pm-stack/projector). Aggregator jobs, path scoping, and the non-required-check policy are unchanged. Projector suite verified on laptop: 79 pass, 0 fail. --- .github/workflows/pm-aggregator-tests.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pm-aggregator-tests.yml b/.github/workflows/pm-aggregator-tests.yml index a8a9ddc06c..df9ab26052 100644 --- a/.github/workflows/pm-aggregator-tests.yml +++ b/.github/workflows/pm-aggregator-tests.yml @@ -1,9 +1,11 @@ # pm-aggregator-tests.yml -- runs the pm-stack aggregator bun test # suite (incl. the #1176 publisher/collector/aggregator contract corpus), # the contract pre-publish check, and typecheck in GitHub Actions -# (#1579). Until #1579 aggregator PRs merged with no test signal: the -# suite (pm-stack/aggregator/test/) and the bun scripts existed, but no -# workflow ran them. +# (#1579), plus the projector bun test suite (#2936: projector PRs +# previously got no test signal until the push-to-main pm-stack-tests +# workflow ran after merge). Until #1579 aggregator PRs merged with no +# test signal: the suite (pm-stack/aggregator/test/) and the bun +# scripts existed, but no workflow ran them. # # Path-filtered to pm-stack/** plus this file, so unrelated PRs never # pay for it. Runs on pull requests touching pm-stack (the contract @@ -71,3 +73,18 @@ jobs: run: bun test - name: Typecheck run: bunx tsc --noEmit + + projector: + name: projector tests + runs-on: ubuntu-latest + timeout-minutes: 30 + defaults: + run: + working-directory: pm-stack/projector + steps: + - uses: actions/checkout@v4 + - uses: oven-sh/setup-bun@v2 + - name: Install dependencies + run: bun install --frozen-lockfile + - name: Run projector tests + run: bun test