Skip to content

Commit 67a0225

Browse files
committed
Update ci to dynamically set thread count for infection
1 parent cae28d0 commit 67a0225

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
php-version: 8.4
101101
tools: infection
102102
- uses: ramsey/composer-install@v3
103-
- run: infection --min-msi=64 --min-covered-msi=70 --threads=4
103+
- run: |
104+
infection --min-msi=64 --min-covered-msi=70 "--threads=$(nproc)"
104105
env:
105106
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

0 commit comments

Comments
 (0)