Skip to content

Commit 8e1b9d5

Browse files
committed
fix: Reorganize mutation job configuration in mutation.yml for clarity and consistency.
1 parent c470fb9 commit 8e1b9d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/mutation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ jobs:
2121
mutation:
2222
uses: php-forge/actions/.github/workflows/infection.yml@fix-mini-31
2323
with:
24-
command-coverage-options: --with-uncovered
25-
extensions: pdo, pdo_pgsql, pdo_sqlite
26-
framework-options: --test-framework-options="--group=sqlite,mutation"
27-
hook: |
24+
before-hook: |
2825
# Config MySQL with Docker
2926
docker run -d \
3027
--name mysql-test \
@@ -75,6 +72,9 @@ jobs:
7572
echo "PGSQL_DSN=pgsql:host=localhost;port=5432;dbname=yiitest" >> $GITHUB_ENV
7673
echo "PGSQL_USERNAME=root" >> $GITHUB_ENV
7774
echo "PGSQL_PASSWORD=root" >> $GITHUB_ENV
75+
command-coverage-options: --with-uncovered
76+
extensions: pdo, pdo_pgsql, pdo_sqlite
77+
framework-options: --test-framework-options="--group=sqlite,mutation"
7878
phpstan: true
7979
secrets:
8080
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

0 commit comments

Comments
 (0)