mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Ensured only mutants for changed lines are executed in CI mutation tests
This commit is contained in:
4
.github/workflows/ci-mutation-tests.yml
vendored
4
.github/workflows/ci-mutation-tests.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user