From 68d95821d66c724e4b4e84ea3c613b9651a5e792 Mon Sep 17 00:00:00 2001 From: Adrian Hopek Date: Tue, 18 Jan 2022 08:31:02 +0100 Subject: [PATCH] #17 - fix --- .github/workflows/test-and-lint-php.yml | 10 ++++++++++ phpunit.xml | 24 ++++++++++++------------ 2 files changed, 22 insertions(+), 12 deletions(-) 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 @@ - - - - - - - - - - - - + + + + + + + + + + + +