diff --git a/.github/workflows/php-package.yml b/.github/workflows/php-package.yml index a51f1fd..89a3502 100644 --- a/.github/workflows/php-package.yml +++ b/.github/workflows/php-package.yml @@ -6,7 +6,7 @@ # # jobs: # harness: -# uses: Pollora/harness/.github/workflows/php-package.yml@v0.1.40 +# uses: Pollora/harness/.github/workflows/php-package.yml@v0.1.41 # permissions: # contents: read # diff --git a/.github/workflows/template.yml b/.github/workflows/template.yml index d335a8b..91c287e 100644 --- a/.github/workflows/template.yml +++ b/.github/workflows/template.yml @@ -13,7 +13,7 @@ # # jobs: # harness: -# uses: Pollora/harness/.github/workflows/template.yml@v0.1.40 +# uses: Pollora/harness/.github/workflows/template.yml@v0.1.41 # with: # mode: enforce # permissions: diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e021e1..210213f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## [0.1.41] - 2026-11-27 + ### Fixed - **No mutation score is given when the tests do not pass on unchanged code run as a mutant.** Pest counts a mutant's process that fails as a caught mutant, and one that loops as a timeout, caught too, so a suite that breaks in that process whatever the file contains scored mutants nothing had tested (on `pollora/media`, one file read 100 % with Patchwork 2.2.5 and 77.92 % with its unreleased fix). Before Pest runs, the harness now runs the suite alone, then the tests covering the code with `PEST_MUTATION_TESTING` set to the source file and `PEST_MUTATION_FILE` to an exact copy of it; selected by name as Pest selects them, never passing `--parallel`; if they fail (twice: one flaky failure is not a verdict), or are still running after five times the duration of the suite (never less than 120 s), Pest is not started and the gate fails with the failing tests. When they only fail with the variables of a parallel run, the mutants are run in a single process. **A repository whose score the gate accepted may now be refused**: Patchwork (loaded by Brain Monkey) under tests that read a directory, and Pest's own stream wrapper, which takes every `flock()` as shared and reports an unreadable file as absent, are two causes. The README says what to do. diff --git a/README.md b/README.md index 93793c0..791ff43 100644 --- a/README.md +++ b/README.md @@ -398,7 +398,7 @@ permissions: {} jobs: harness: - uses: Pollora/harness/.github/workflows/template.yml@v0.1.40 + uses: Pollora/harness/.github/workflows/template.yml@v0.1.41 with: mode: enforce # observe reports and never blocks observed: '' # gates reported but never blocking: secrets, style, security, audit, ratchet @@ -457,7 +457,7 @@ Pollora packages test against Brain Monkey, which doubles WordPress. That is fas ```yaml jobs: harness: - uses: Pollora/harness/.github/workflows/php-package.yml@v0.1.40 + uses: Pollora/harness/.github/workflows/php-package.yml@v0.1.41 with: wordpress-integration: tests/Integration # the suite; empty (default) = off wordpress-version: latest # latest (default), nightly, 6.9, 6.9.1