diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 014e9e29d21..d8d7cbb87a3 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -8,6 +8,16 @@ jobs: phpunit: runs-on: ubuntu-latest + services: + mysql: + image: mysql:5.7 + env: + MYSQL_ROOT_PASSWORD: ninja + MYSQL_DATABASE: ninja + ports: + - 33306:3306 + options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 + steps: - uses: actions/checkout@v1 with: