From 855558084a538ebdfec0bd43f829ba8d0d314a21 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Wed, 23 Sep 2020 03:05:42 +0300 Subject: Update github action to include mariadb service * .github/workflows/main.yml: Add mariadb service. This makes the build pass because somewhere(because of cyclic imports), a connection to mariadb is required. --- .github/workflows/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4c8db1c4..94b0db75 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,19 @@ jobs: runs-on: ubuntu-latest container: bonfacekilz/python2-genenetwork2:latest + services: + mariadb: + image: mariadb:latest + ports: + - 3306:3306 + env: + MYSQL_USER: gn2 + MYSQL_PASSWORD: mysql_password + MYSQL_ALLOW_EMPTY_PASSWORD: yes + MYSQL_DATABASE: db_webqtl_s + MYSQL_ROOT_PASSWORD: mysql_password + options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 + steps: # Use v1 of checkout since v2 fails - name: Checkout Project -- cgit v1.2.3