pytest-gremlins
Version updated for https://github.com/mikelane/pytest-gremlins-action to version v1.0.1.
- This action is used across all versions by ? repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
The pytest-gremlins-action GitHub Action integrates mutation testing into CI pipelines using the pytest-gremlins framework. It automates mutation testing with features like incremental caching for faster repeat runs, parallel test execution, mutation score ratcheting to enforce quality improvements, and automatic PR comments with mutation reports. This action simplifies the process of ensuring code quality by providing detailed mutation test results and progress tracking, making it an efficient tool for maintaining robust test coverage.
Release notes
pytest-gremlins-action v1.0.1
Drop pytest-gremlins mutation testing into your CI pipeline in one step.
Features
- Run mutation testing with one action step
- Incremental caching via
actions/cache(13x speedup on repeat runs) - Score ratcheting — mutation score can only go up, auto-commits improvements
- PR comments with mutation report and surviving mutations table
- Shields.io badge URL output
- 8 inputs, 8 outputs, full customization
Usage
- uses: mikelane/pytest-gremlins-action@v1
See README for full documentation.
Requirements
- Requires
pytest-gremlins >= 1.5.1 - Requires
jqon the runner (pre-installed on GitHub-hosted runners)