Skip to content

ci: run mutation testing with Infection - #63

Merged
roxblnfk merged 3 commits into
1.xfrom
ci/infection
Nov 20, 2026
Merged

roxblnfk merged 3 commits into
1.xfrom
ci/infection

Conversation

@roxblnfk

@roxblnfk roxblnfk commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

What was changed

  • Infection is installed in vendor-bin/infection (infection/infection ^0.35.12, testo/bridge-infection ^0.1.9); the adapter is dropped from the root require-dev.
  • infect and infect:ci set DB_DRIVERS=sqlite, so Infection runs only the Unit and Acceptance/SQLite suites, which need no database server.
  • infection.json requires MSI and covered MSI of 90 (measured locally: 96 / 96, 51 mutants, about 13 s); src/Bridge stays excluded.
  • .github/workflows/infection.yml now calls the shared cycle/gh-actions Infection workflow; the Stryker badge stays, and CONTRIBUTING describes the new commands.

Why?

Aligns mutation testing with the other cycle packages, so the job is maintained in one place.

Review notes

Checklist

  • Tested
    • Tested manually: Infection passes locally
    • Unit tests added

@codecov

codecov Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.00%. Comparing base (57ed72b) to head (4e1b08a).
⚠️ Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@           Coverage Diff           @@
##              1.x      #63   +/-   ##
=======================================
  Coverage   95.00%   95.00%           
=======================================
  Files          10       10           
  Lines         100      100           
=======================================
  Hits           95       95           
  Misses          5        5           
Flag Coverage Δ
mysql 82.82% <ø> (ø)
postgres 82.82% <ø> (ø)
sqlite 82.82% <ø> (ø)
sqlserver 82.82% <ø> (ø)
unit 16.16% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

DB_DRIVERS=sqlite limits the run to the Unit and SQLite suites, which need no database server. The adapter lives in vendor-bin/infection only, and the thresholds sit a few points below the measured MSI.

Assisted-By: Claude Opus 5.5 <[email protected]>
@roxblnfk
roxblnfk merged commit e288b4f into 1.x Nov 20, 2026
25 checks passed
@roxblnfk
roxblnfk deleted the ci/infection branch November 20, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant