fix: Update php-forge/support
version 0.2
in composer.json
and refactor assertions in test cases.
#167
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- 'README.md' | |
- 'CHANGELOG.md' | |
- '.gitignore' | |
- '.gitattributes' | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- 'README.md' | |
- 'CHANGELOG.md' | |
- '.gitignore' | |
- '.gitattributes' | |
name: build-mysql | |
jobs: | |
mysql: | |
name: MySQL tests. | |
uses: php-forge/actions/.github/workflows/phpunit-database.yml@v1 | |
secrets: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
concurrency-group: mysql-${{ github.ref }} | |
database-env: | | |
{ | |
"MYSQL_DATABASE": "yiitest", | |
"MYSQL_ROOT_PASSWORD": "root", | |
} | |
database-health-cmd: "mysqladmin ping" | |
database-health-retries: 3 | |
database-image: mysql | |
database-port: 3306 | |
database-type: mysql | |
database-versions: '["8.0", "8.4", "latest"]' | |
enable-concurrency: true | |
extensions: pdo, pdo_mysql | |
os: '["ubuntu-latest"]' | |
php-version: '["8.4"]' | |
phpunit-group: mysql |