File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,10 @@ jobs:
109109 options : --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=wp_cli_test --entrypoint sh mysql:${{ matrix.mysql }} -c "exec docker-entrypoint.sh mysqld --default-authentication-plugin=mysql_native_password"
110110
111111 steps :
112+
113+ - name : Test connect to MySQL
114+ run : mysql -uroot -proot -h127.0.0.1 -P${{ job.services.mysql.ports[3306] }} -e "SHOW DATABASES"
115+
112116 - name : Check out source code
113117 uses : actions/checkout@v2
114118
@@ -125,7 +129,7 @@ jobs:
125129 php-version : ' ${{ matrix.php }}'
126130 extensions : mysql, zip
127131 coverage : none
128- tools : composer
132+ tools : composer, phpunit:5.7.27
129133
130134 - name : Get Composer cache Directory
131135 if : steps.check_files.outputs.files_exists == 'true'
@@ -146,10 +150,6 @@ jobs:
146150 if : steps.check_files.outputs.files_exists == 'true'
147151 run : COMPOSER_ROOT_VERSION=dev-master composer install --prefer-dist --no-progress --no-suggest
148152
149- - name : Start MySQL server
150- if : steps.check_files.outputs.files_exists == 'true'
151- run : sudo systemctl start mysql
152-
153153 - name : Configure DB environment
154154 if : steps.check_files.outputs.files_exists == 'true'
155155 run : |
You can’t perform that action at this time.
0 commit comments