From d3e48105ea8f45480e00cdb93bd827da79b71338 Mon Sep 17 00:00:00 2001 From: Agnes Lin Date: Sun, 11 Apr 2021 23:12:32 -0400 Subject: [PATCH] ci: start over wirh builtin mysql] Signed-off-by: Agnes Lin --- .github/workflows/continuous-integration.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 06e3f8f..66f29c5 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -49,10 +49,9 @@ jobs: # mysql root password: root # mysql user: user # mysql password: pass - - name: Wait for MySQL - run: | - sudo service mysql start - sleep 20 + # - name: Wait for MySQL + # run: | + # sudo service mysql start # while ! mysqladmin ping --host=127.0.0.1 --port 3306 -uroot --password=root --silent; do # sleep 1 # done @@ -64,6 +63,7 @@ jobs: # mysql -uroot -proot -e "show databases" - name: npm install, build, and test run: | + sudo service mysql start npm install npm test env: