Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/php-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading