ci: start over wirh builtin mysql]
Signed-off-by: Agnes Lin <agneslin.lin@ibm.com>
This commit is contained in:
parent
c060849f18
commit
3dc42c0cad
|
@ -63,12 +63,13 @@ jobs:
|
|||
# mysql -uroot -proot -e "show databases"
|
||||
- name: npm install, build, and test
|
||||
run: |
|
||||
mysqladmin -u root -proot shutdown
|
||||
sudo service mysql start
|
||||
docker ps -a
|
||||
while ! mysqladmin ping --host=127.0.0.1 --port 3306 -uroot --password=root --silent; do
|
||||
sleep 1
|
||||
done
|
||||
mysql -uroot -proot -e "show databases"
|
||||
# mysqladmin -u root -proot shutdown
|
||||
# while ! mysqladmin ping --host=127.0.0.1 --port 3306 -uroot --password=root --silent; do
|
||||
# sleep 1
|
||||
# done
|
||||
npm install
|
||||
npm test
|
||||
env:
|
||||
|
|
Loading…
Reference in New Issue