Skip to content

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

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. #11

Workflow file for this run

on:
- pull_request
- push
name: build
jobs:
mysql:
uses: php-forge/actions/.github/workflows/phpunit-database.yml@main

Check failure on line 9 in .github/workflows/ci-mysql.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-mysql.yml

Invalid workflow file

error parsing called workflow ".github/workflows/ci-mysql.yml" -> "php-forge/actions/.github/workflows/phpunit-database.yml@main" (source branch with sha:3359891d6c1071fd5eb9c0ed8efece5a7f093654) : the `uses' attribute must be a path, a Docker image, or owner/repo@ref
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"]'