ci: add mutation testing workflow with Infection#163
Merged
deviantintegral merged 5 commits intomainfrom Dec 17, 2025
Merged
Conversation
Owner
deviantintegral
commented
Dec 17, 2025
- Add Infection to composer.json require-dev dependencies
- Create GitHub workflow for mutation testing
- Configure workflow to fail if MSI is below 87%
- Set threads to max for optimal performance
- Run on push to main and pull requests
- Add Infection to composer.json require-dev dependencies - Create GitHub workflow for mutation testing - Configure workflow to fail if MSI is below 87% - Set threads to max for optimal performance - Run on push to main and pull requests
- Remove infection/infection from composer.json require-dev - Download Infection PHAR directly in the workflow - Download both PHAR and signature files for verification - Maintain same mutation testing thresholds (87% MSI)
- Pin Infection PHAR to version 0.30.0 instead of using latest - Add GPG signature verification with official Infection signing key - Import key from keys.openpgp.org keyserver - Verify signature before making PHAR executable - Convert mutation-testing workflow to workflow_call - Add mutation-testing job to CI workflow alongside tests
- Move mutation-testing job from separate workflow into test.yml - Remove mutation-testing.yml file - Remove mutation-testing workflow call from ci.yml - Mutation testing now shows as "CI / test / Mutation Testing"
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.