From dddc4bebfcc35388fe434eac01f7845441932ce5 Mon Sep 17 00:00:00 2001 From: Agnes Lin Date: Sun, 11 Apr 2021 22:03:44 -0400 Subject: [PATCH] ci: socket Signed-off-by: Agnes Lin --- .github/workflows/continuous-integration.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 8f409a8..a071c83 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -48,7 +48,7 @@ jobs: mysql root password: root - name: Wait for MySQL run: | - docker run -it -e MYSQL_ROOT_PASSWORD=root -d mysql:5.7 + docker run -it -e MYSQL_ROOT_PASSWORD=root -v /var/run/docker.sock:/var/run/mysqld -d mysql:5.7 while ! mysqladmin ping --host=127.0.0.1 --port 3000 --password=$MYSQL_ROOT_PASSWORD --silent < ./test/schema.sql; do sleep 1 done