diff --git a/.github/workflows/test-and-lint-php.yml b/.github/workflows/test-and-lint-php.yml index 430fdf6..d287df0 100644 --- a/.github/workflows/test-and-lint-php.yml +++ b/.github/workflows/test-and-lint-php.yml @@ -10,6 +10,16 @@ jobs: test-and-lint-php: name: Test & lint PHP stuff runs-on: ubuntu-20.04 + services: + mysql: + image: mysql:8.0 + env: + MYSQL_DATABASE: toby + MYSQL_USER: toby + MYSQL_PASSWORD: password + MYSQL_ALLOW_EMPTY_PASSWORD: 1 + ports: + - 3306:3306 steps: - uses: actions/checkout@v2 diff --git a/phpunit.xml b/phpunit.xml index acee22b..c1b2a5c 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -19,17 +19,17 @@ - - - - - - - - - - - - + + + + + + + + + + + +