From b1b8837f99f92a5d6fe8664885a4bb69e7ac7e42 Mon Sep 17 00:00:00 2001 From: Ricky Chilcott Date: Fri, 19 Jul 2024 12:45:49 -0400 Subject: [PATCH] Try to get mysql setup --- .github/workflows/build.yml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4cd71420e..f7fa1777d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,20 +21,21 @@ jobs: POSTGRES_USER: thredded POSTGRES_PASSWORD: thredded - # mysql: - # image: mysql - # ports: - # - 3306:3306 - # options: >- - # --health-cmd mysqladmin ping - # --health-interval 10s - # --health-timeout 5s - # --health-retries 3 - # env: - # MYSQL_DATABASE: thredded_gem_test - # MYSQL_USER: thredded - # MYSQL_PASSWORD: thredded - # MYSQL_ROOT_PASSWORD: thredded + mysql: + image: mysql:8.0 + env: + MYSQL_ROOT_HOST: "%" + MYSQL_DATABASE: thredded_gem_test + MYSQL_USER: thredded + MYSQL_PASSWORD: thredded + MYSQL_ROOT_PASSWORD: thredded + options: >- + --health-cmd "mysqladmin ping" + --health-interval 10s + --health-timeout 5s + --health-retries 3 + ports: + - "3306:3306" strategy: fail-fast: false