ci: start over wirh builtin mysql]

Signed-off-by: Agnes Lin <agneslin.lin@ibm.com>
This commit is contained in:
Agnes Lin 2021-04-11 23:12:32 -04:00
parent 7dab0e0fbf
commit d3e48105ea
1 changed files with 4 additions and 4 deletions

View File

@ -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: