From 566965d882f1e50796d36b24916c573e6a6d28af Mon Sep 17 00:00:00 2001 From: Agnes Lin Date: Sun, 11 Apr 2021 22:37:08 -0400 Subject: [PATCH] ci: socket Signed-off-by: Agnes Lin --- .github/workflows/continuous-integration.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 011ce0a..521372c 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -46,12 +46,14 @@ jobs: mysql version: 5.7 mysql database: testdb mysql root password: root + mysql user: user # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Can use secrets, too + mysql password: pass - name: Wait for MySQL run: | sudo systemctl start mysql docker ps -a - while ! mysqladmin ping --host=127.0.0.1 --port 3000 --password=$MYSQL_ROOT_PASSWORD --silent < ./test/schema.sql; do + while ! mysqladmin ping --host=127.0.0.1 --port 3000 --password=root --silent < ./test/schema.sql; do sleep 1 done docker container ls