From ccf08748ad94ec230977d09603f63893d16d2ab6 Mon Sep 17 00:00:00 2001 From: Esa-Matti Suuronen Date: Wed, 18 Mar 2020 12:40:43 +0200 Subject: [PATCH] Fix db connection in gh tests --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 44a3aaa..de840fc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,6 +4,14 @@ on: [push, pull_request] jobs: test: + services: + mariadb: + image: mariadb + ports: + - 3306:3306 + env: + MYSQL_ROOT_PASSWORD: root + options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 runs-on: ubuntu-latest steps: - uses: actions/checkout@v1