From 1f525072f8fac1675ae640cb32c96883496fbbf7 Mon Sep 17 00:00:00 2001 From: Joseph Mearman Date: Tue, 29 Sep 2026 22:13:06 +0100 Subject: [PATCH] ci: pass the force flag to Stryker without a separator The mutation script runs stryker directly, so the argument separator was forwarded as a stray argument and stryker rejected it on main. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9229ae..710060a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,7 +107,7 @@ jobs: restore-keys: | stryker-incremental- # Stryker only diffs mutated and test files, so a change outside that scope (config, fixture data, an env var) is invisible to the incremental differ. --force on push to main (never on a PR) rebuilds the incremental file from a known-clean baseline so that blind spot cannot compound. - - run: pnpm test:mutation${{ github.ref == 'refs/heads/main' && ' -- --force' || '' }} + - run: pnpm test:mutation${{ github.ref == 'refs/heads/main' && ' --force' || '' }} - name: Save Stryker incremental result cache if: always() uses: actions/cache/save@v6