File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed
Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,8 @@ jobs:
226226 mutation-testing :
227227 name : " Mutation Testing"
228228 runs-on : " ubuntu-latest"
229- needs : ["tests", "tests-levels"]
229+ needs : ["tests"]
230+ if : github.event_name == 'pull_request'
230231
231232 strategy :
232233 fail-fast : false
@@ -241,25 +242,21 @@ jobs:
241242 - name : " Checkout"
242243 uses : actions/checkout@v5
243244
244- - name : " Install PHP"
245- uses : " shivammathur/setup-php@v2"
246- with :
247- coverage : " pcov"
248- php-version : " ${{ matrix.php-version }}"
249- ini-file : development
250- extensions : ds,mbstring
251- tools : infection:0.31.7
252-
253- - name : " Install dependencies"
254- run : " composer install --no-interaction --no-progress"
255-
256245 - name : " Checkout build-infection"
257246 uses : actions/checkout@v5
258247 with :
259248 repository : " phpstan/build-infection"
260249 path : " build-infection"
261250 ref : " 1.x"
262251
252+ - uses : ./build-infection/.github/actions/setup-php
253+ with :
254+ php-version : " ${{ matrix.php-version }}"
255+ extensions : ds,mbstring
256+
257+ - name : " Install dependencies"
258+ run : " composer install --no-interaction --no-progress"
259+
263260 - name : " Install build-infection dependencies"
264261 working-directory : " build-infection"
265262 run : " composer install --no-interaction --no-progress"
You can’t perform that action at this time.
0 commit comments