From 6e2ebb7d802132bafe92cfd87edbbb2ab46d1ce7 Mon Sep 17 00:00:00 2001 From: felix Date: Sat, 16 Mar 2024 13:56:37 -0400 Subject: [PATCH] Add port mapping for MySQL service --- .github/workflows/django.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index 7313df9..211ef7c 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -18,6 +18,8 @@ jobs: MYSQL_DATABASE: activmind_test MYSQL_PASSWORD: root options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 + ports: + - 3306:3306 strategy: max-parallel: 4 @@ -26,7 +28,7 @@ jobs: env: - MYSQL_HOST: mysql + MYSQL_HOST: mysql.host.docker.internal. # This is the host name for the mysql service steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }}