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:44:15 -04:00
parent 8c2a446caa
commit 0459748e06
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ jobs:
MYSQL_HOST: localhost
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 -v /usr/bin/docker/mysql:/var/run/mysqld/mysqld.sock
steps:
# - name: Shutdown Ubuntu MySQL (SUDO)
@ -63,6 +63,7 @@ jobs:
# mysql -uroot -proot -e "show databases"
- name: npm install, build, and test
run: |
sudo ls /usr/bin/docker/mysql
docker ps -a
mysql -uroot -proot -e "show databases"
npm install