Skip to content

ci: run mutation testing with Infection - #13

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

roxblnfk merged 2 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 95 (measured locally: 100 / 100, 56 mutants, about 15 s).
  • .github/workflows/infection.yml now calls the shared cycle/gh-actions Infection workflow; the Stryker badge stays.

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

@roxblnfk
roxblnfk requested a review from a team November 20, 2026 15:20
@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 100.00%. Comparing base (106e20a) to head (7e21998).
⚠️ Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff            @@
##               1.x       #13   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines           75        75           
=========================================
  Hits            75        75           
Flag Coverage Δ
mysql 40.00% <ø> (ø)
postgres 40.00% <ø> (ø)
sqlite 40.00% <ø> (ø)
sqlserver 40.00% <ø> (ø)
unit 100.00% <ø> (ø)

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 dac069c into 1.x Nov 20, 2026
22 checks passed
@roxblnfk
roxblnfk deleted the ci/infection branch November 20, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant