From 3242f30c1137be0495e6edd54865f0199a91523d Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 25 Mar 2020 23:28:11 +1100 Subject: [PATCH] Update phpunit.yml --- .github/workflows/phpunit.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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: