From ff727b17b83d76ee45d47651c536ebc0e8905d88 Mon Sep 17 00:00:00 2001 From: Morgan Aubert Date: Sun, 23 Feb 2020 21:47:14 -0500 Subject: [PATCH] Update workflow configuration --- .github/workflows/ci.yml | 2 +- tests/settings.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b56dd420..0ebd7d822 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: MYSQL_ROOT_PASSWORD: "" MYSQL_DATABASE: machina_test ports: - - 3306/tcp + - 3307:3306 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 postgres: image: postgres:10.8 diff --git a/tests/settings.py b/tests/settings.py index dc428e88e..91bb3a68f 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -48,7 +48,9 @@ def __getitem__(self, item): 'ENGINE': 'django.db.backends.mysql', 'NAME': 'machina_test', 'USER': 'root', - 'PASSWORD': '', + 'PASSWORD': 'root', + 'HOST': 'localhost', + 'PORT': 3307, 'TEST': { 'CHARSET': 'utf8mb4', 'COLLATION': 'utf8mb4_general_ci',