feat: Add migration files for tree
and multiple_tree
tables with support for various database drivers.
#46
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@main | |
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 |