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