Ensured only mutants for changed lines are executed in CI mutation tests

This commit is contained in:
Alejandro Celaya
2022-08-13 12:31:12 +02:00
parent 60237c3c0b
commit bd31b99324
2 changed files with 3 additions and 3 deletions

View File

@@ -25,8 +25,8 @@ jobs:
with:
path: build
- if: ${{ inputs.test-group == 'unit' }}
run: composer infect:ci:unit
run: composer infect:ci:unit -- --git-diff-lines --logger-github=false
env:
INFECTION_BADGE_API_KEY: ${{ secrets.INFECTION_BADGE_API_KEY }}
- if: ${{ inputs.test-group != 'unit' }}
run: composer infect:ci:${{ inputs.test-group }}
run: composer infect:ci:${{ inputs.test-group }} -- --git-diff-lines --logger-github=false