Skip to content

Commit

Permalink
Only mutate changed lines to reduce the noise (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai authored Aug 7, 2023
1 parent 6217d51 commit 2ca2406
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/mt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ jobs:
- name: Run Infection
if: github.event_name == 'pull_request'
run: |
vendor/bin/infection --coverage=build/logs --threads=$(nproc) --show-mutations --no-interaction --only-covered --only-covering-test-cases --skip-initial-tests
git fetch --depth=1 origin $GITHUB_BASE_REF
vendor/bin/infection --coverage=build/logs --threads=$(nproc) --show-mutations --no-interaction --only-covered --only-covering-test-cases --skip-initial-tests --git-diff-lines --git-diff-base=origin/$GITHUB_BASE_REF

0 comments on commit 2ca2406

Please sign in to comment.