From 204efe0158316633d9b922a870ad4616e269429a Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Mon, 16 Mar 2020 08:40:59 +0000 Subject: [PATCH] Fixed MySQL port mapping in CI no issue - turns out the exposed port is randomly assigned, but this worked for us so far - this commit enforces the use of 3306 for the MySQL port --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4c7ff93672..c6c37f157a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,7 +28,7 @@ jobs: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: ghost_testing ports: - - 3306 + - 3306:3306 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 name: Node ${{ matrix.node }} - ${{ matrix.env.DB }} steps: