diff --git a/.github/workflows/test-php.yml b/.github/workflows/test-php.yml index 296161161..6a5bd41c3 100644 --- a/.github/workflows/test-php.yml +++ b/.github/workflows/test-php.yml @@ -28,6 +28,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: "${{ matrix.php }}" + ini-values: "memory_limit=-1" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -64,11 +65,15 @@ jobs: - name: Mutation tests - minimum thresholds run: | - vendor/bin/infection --min-msi=85 --min-covered-msi=88 + vendor/bin/roave-infection-static-analysis-plugin \ + --min-msi=90 \ + --min-covered-msi=90 working-directory: php - name: Mutation tests - modifications run: | git fetch --depth=1 origin $GITHUB_BASE_REF - vendor/bin/infection --git-diff-lines --git-diff-base=origin/$GITHUB_BASE_REF --logger-github --ignore-msi-with-no-mutations + vendor/bin/roave-infection-static-analysis-plugin \ + --git-diff-lines --git-diff-base=origin/$GITHUB_BASE_REF \ + --logger-github --ignore-msi-with-no-mutations working-directory: php diff --git a/php/composer.json b/php/composer.json index 5392dd524..302750490 100644 --- a/php/composer.json +++ b/php/composer.json @@ -23,7 +23,8 @@ "friendsofphp/php-cs-fixer": "^3.5", "psalm/plugin-phpunit": "^0.18.0", "nikic/php-parser": "^4.14", - "infection/infection": "^0.26.16" + "infection/infection": "^0.26.16", + "roave/infection-static-analysis-plugin": "^1.25" }, "repositories": [ {