From ab2d45b8728a3230d4e073e0f30bc5c6720e888c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Fri, 20 Nov 2020 11:12:13 +0200 Subject: [PATCH] Add mysql take 2 --- .github/workflows/django.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index 86c92102..54f55ef9 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -17,7 +17,7 @@ jobs: services: postgres: - image: postgres + image: postgres:10 env: POSTGRES_PASSWORD: postgres options: >- @@ -32,7 +32,7 @@ jobs: env: MYSQL_ALLOW_EMPTY_PASSWORD: yes ports: - - 3306 + - 3306:3306 options: >- --health-cmd="mysqladmin ping" --health-interval=10s @@ -53,7 +53,7 @@ jobs: - name: Run Tests env: DB: mysql - DB_HOST: localhost + DB_HOST: 127.0.0.1 DB_PORT: 3306 DB_USER: root run: |