Skip to content
Merged
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,19 @@
/CHANGELOG.md merge=union

# Exclude files from the archive
/.editorconfig export-ignore
/.gitattributes export-ignore
/.github export-ignore
/.gitignore export-ignore
/.styleci.yml export-ignore
/codeception.yml export-ignore
/composer-require-checker.json export-ignore
/docs export-ignore
/ecs.php export-ignore
/infection.json* export-ignore
/phpstan*.neon* export-ignore
/phpunit.xml.dist export-ignore
/psalm.xml export-ignore
/rector.php export-ignore
/runtime export-ignore
/tests export-ignore
2 changes: 1 addition & 1 deletion .github/workflows/build-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ name: build-mysql
jobs:
mysql:
name: MySQL tests.
uses: php-forge/actions/.github/workflows/phpunit-database.yml@main
uses: php-forge/actions/.github/workflows/phpunit-database.yml@fix-mini-31
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: build

jobs:
phpunit:
uses: php-forge/actions/.github/workflows/phpunit.yml@main
uses: php-forge/actions/.github/workflows/phpunit.yml@fix-mini-31
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand All @@ -29,7 +29,7 @@ jobs:
extensions: pdo, pdo_sqlite
phpunit-group: sqlite
phpunit-compatibility:
uses: php-forge/actions/.github/workflows/phpunit.yml@main
uses: php-forge/actions/.github/workflows/phpunit.yml@fix-mini-31
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ name: mutation test

jobs:
mutation:
uses: php-forge/actions/.github/workflows/infection.yml@main
uses: php-forge/actions/.github/workflows/infection.yml@fix-mini-31
with:
extensions: pdo, pdo_pgsql, pdo_sqlite
framework-options: --test-framework-options="--group=sqlite,mutation"
hook: |
before-hook: |
# Config MySQL with Docker
docker run -d \
--name mysql-test \
Expand Down Expand Up @@ -74,6 +72,9 @@ jobs:
echo "PGSQL_DSN=pgsql:host=localhost;port=5432;dbname=yiitest" >> $GITHUB_ENV
echo "PGSQL_USERNAME=root" >> $GITHUB_ENV
echo "PGSQL_PASSWORD=root" >> $GITHUB_ENV
command-coverage-options: --with-uncovered
extensions: pdo, pdo_pgsql, pdo_sqlite
framework-options: --test-framework-options="--group=sqlite,mutation"
phpstan: true
secrets:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"require-dev": {
"ext-dom": "*",
"ext-simplexml": "*",
"infection/infection": "^0.27|^0.30",
"infection/infection": "^0.27|^0.31",
"maglnet/composer-require-checker": "^4.1",
"php-forge/support": "^0.1",
"phpstan/extension-installer": "^1.4",
Expand Down
Loading