diff --git a/.github/workflows/mt.yml b/.github/workflows/mt.yml index 7c3098ce..ce8efd52 100644 --- a/.github/workflows/mt.yml +++ b/.github/workflows/mt.yml @@ -29,14 +29,14 @@ jobs: - name: Download Infection run: | - wget https://github.com/infection/infection/releases/download/0.26.19/infection.phar + wget https://github.com/infection/infection/releases/download/0.28.1/infection.phar chmod +x infection.phar - name: Run Infection for added files only if: github.event_name == 'pull_request' run: | git fetch --depth=1 origin $GITHUB_BASE_REF - php infection.phar -j8 --git-diff-filter=A --git-diff-base=origin/$GITHUB_BASE_REF --logger-github --ignore-msi-with-no-mutations --only-covered + php infection.phar -j8 --git-diff-lines --git-diff-base=origin/$GITHUB_BASE_REF --logger-github --ignore-msi-with-no-mutations --only-covered - name: Run Infection for all files if: github.event_name == 'push'