Skip to content

feat: add MySQL CI workflow and corresponding test classes for improoved database testing. #13

feat: add MySQL CI workflow and corresponding test classes for improoved database testing.

feat: add MySQL CI workflow and corresponding test classes for improoved database testing. #13

Workflow file for this run

on:
- pull_request
- push
name: build
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
group-phpunit: mysql
extensions: pdo, pdo_mysql
os: '["ubuntu-latest"]'