mikelane/pytest-gremlins

Run pytest-gremlins mutation testing with caching, score ratcheting, PR comments, and badges

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 19, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: mikelane/pytest-gremlins-action@d1c5b0de60b48d4f25f4fb8a267d29da9738051a # v1.1.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
python-versionPython version for actions/setup-pythonno3.12
parallelEnable gremlins parallel execution (--gremlin-parallel)notrue
workersNumber of parallel workers (--gremlin-workers=N). Empty = all coresno""
cacheEnable incremental mutation cache (--gremlin-cache)notrue
targetsOverride source paths to mutate (--gremlin-targets, comma-separated)no""
extra-argsAdditional pytest arguments passed throughno""
ratchet-fileFile storing mutation score threshold for ratchetingno.gremlins-score
command-prefixCommand prefix for pytest invocation (e.g., uv run, poetry run, pdm run)no""
skip-installSkip pip install of pytest-gremlins (set true when your environment already provides it)nofalse
pr-commentPost mutation report as PR commentnotrue
namedescription
scoreMutation score percentage
zappedMutations killed by tests
survivedMutations that escaped detection
timeoutMutations caught by timeout
totalTotal mutations tested
pardonedMutations intentionally suppressed
passedtrue if score >= ratcheted threshold
badge-urlShields.io badge URL for mutation score