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 root password: root
# mysql user: user # mysql user: user
# mysql password: pass # mysql password: pass
- name: Wait for MySQL # - name: Wait for MySQL
run: | # run: |
sudo service mysql start # sudo service mysql start
sleep 20
# while ! mysqladmin ping --host=127.0.0.1 --port 3306 -uroot --password=root --silent; do # while ! mysqladmin ping --host=127.0.0.1 --port 3306 -uroot --password=root --silent; do
# sleep 1 # sleep 1
# done # done
@ -64,6 +63,7 @@ jobs:
# mysql -uroot -proot -e "show databases" # mysql -uroot -proot -e "show databases"
- name: npm install, build, and test - name: npm install, build, and test
run: | run: |
sudo service mysql start
npm install npm install
npm test npm test
env: env: