Add --only-covering-test-cases option to Infection test
Execute only those test cases that cover mutated line, not the whole file with covering test cases. [ci skip] Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
7d10e2f87d
commit
d53daaa752
2
.github/workflows/mutation-tests.yml
vendored
2
.github/workflows/mutation-tests.yml
vendored
@ -77,4 +77,4 @@ jobs:
|
||||
if: github.event_name == 'schedule'
|
||||
env:
|
||||
INFECTION_BADGE_API_KEY: ${{ secrets.INFECTION_BADGE_API_KEY }}
|
||||
run: infection -j$(nproc) --skip-initial-tests --coverage=build/logs --no-interaction --no-progress
|
||||
run: infection -j$(nproc) --skip-initial-tests --coverage=build/logs --no-interaction --no-progress --only-covering-test-cases
|
||||
|
||||
Loading…
Reference in New Issue
Block a user