test
This commit is contained in:
parent
eb16b3173e
commit
5d8915abcc
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
image: 'mariadb:10.7'
|
image: mariadb
|
||||||
env:
|
env:
|
||||||
MYSQL_ROOT_PASSWORD: root
|
MYSQL_ROOT_PASSWORD: root
|
||||||
ports:
|
ports:
|
||||||
|
@ -47,7 +47,7 @@ jobs:
|
||||||
run: sudo apt update && sudo apt -y upgrade && sudo apt -y install mysql-client
|
run: sudo apt update && sudo apt -y upgrade && sudo apt -y install mysql-client
|
||||||
|
|
||||||
- name: Setup Test Environment
|
- name: Setup Test Environment
|
||||||
run: bash bin/install-wp-tests.sh wordpress_test root root mysql ${{ matrix.wp-version }}
|
run: bash bin/install-wp-tests.sh wordpress_test root root http://mysql:3306 ${{ matrix.wp-version }}
|
||||||
|
|
||||||
- name: Unit Testing
|
- name: Unit Testing
|
||||||
run: ./vendor/bin/phpunit
|
run: ./vendor/bin/phpunit
|
||||||
|
|
Loading…
Reference in a new issue