From b1cb9004196da0d511c42a9a6248523748c324f0 Mon Sep 17 00:00:00 2001 From: Tim Pansino Date: Thu, 22 Jun 2023 17:26:43 -0700 Subject: [PATCH] More debug --- .github/workflows/tests.yml | 1 + tests/testing_support/db_settings.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e388781a3..672c0c7c6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -104,6 +104,7 @@ jobs: --health-interval 10s --health-timeout 5s --health-retries 5 + --add-host=host.docker.internal:host-gateway steps: - uses: actions/checkout@v3 diff --git a/tests/testing_support/db_settings.py b/tests/testing_support/db_settings.py index fa8bb1e7f..e8847bbbb 100644 --- a/tests/testing_support/db_settings.py +++ b/tests/testing_support/db_settings.py @@ -56,7 +56,7 @@ def mysql_settings(): 2. Github Actions """ - host = "mysql" if "GITHUB_ACTIONS" in os.environ else "127.0.0.1" + host = "host.docker.internal" if "GITHUB_ACTIONS" in os.environ else "127.0.0.1" instances = 1 settings = [ {