diff options
author | BonfaceKilz | 2020-09-23 03:05:42 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-09-23 03:05:42 +0300 |
commit | 855558084a538ebdfec0bd43f829ba8d0d314a21 (patch) | |
tree | db7620f1024bd0d4dc40785dd2b79b546b3489c8 /.github/workflows/main.yml | |
parent | d9853ade5a70843c47792e8327301b7b3d5d4a6b (diff) | |
download | genenetwork2-855558084a538ebdfec0bd43f829ba8d0d314a21.tar.gz |
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.
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 13 |
1 files changed, 13 insertions, 0 deletions
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 |