Repository navigation
ci: run mutation testing with Infection - #18
Merged
Merged
Conversation
The adapter hands testFrameworkOptions to Testo as a single argument, so several --suite flags cannot be listed there; DB_DRIVERS=sqlite in the scripts registers only the SQLite suites next to Unit, which CI runs without database servers. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 1.x #18 +/- ##
=======================================
Coverage 81.53% 81.53%
=======================================
Files 43 43
Lines 1029 1029
=======================================
Hits 839 839
Misses 190 190
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
roxblnfk
force-pushed
the
ci/infection
branch
from
November 20, 2026 15:47
cb9f737 to
6e39ffa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was changed
Mutation testing runs with Infection through the Testo adapter (
testo/bridge-infection).vendor-bin/infection;composer infectruns it locally,composer infect:ciin CI.infection.jsonmutatessrcagainst the Unit, Feature/SQLite and Acceptance/SQLite suites, withminMsi/minCoveredMsiset to 54..github/workflows/infection.ymlcalls the sharedcycle/gh-actionsinfection workflow; pushes to1.xupload the report to the Stryker dashboard, and the README shows its badge.Review notes
testFrameworkOptionsto Testo as a single argument, so several--suiteflags cannot be listed there; theinfectscripts setDB_DRIVERS=sqliteinstead, which registers only the SQLite suites next to Unit.cycle/gh-actions@feat/infection(feat(infection): add a reusable workflow for mutation testing with Infection gh-actions#18) until that branch is merged.Why?
The mutation score shows how much of the code the tests actually check, not only how much they execute.
Checklist