test
This commit is contained in:
parent
5d8915abcc
commit
3313dfc7f3
1 changed files with 7 additions and 7 deletions
|
@ -26,12 +26,12 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
- name: Cache composer dependencies
|
# - name: Cache composer dependencies
|
||||||
id: cache-primes
|
# id: cache-primes
|
||||||
uses: actions/cache@v4
|
# uses: actions/cache@v4
|
||||||
with:
|
# with:
|
||||||
path: /root/.cache/composer
|
# path: /root/.cache/composer
|
||||||
key: cache-1
|
# key: cache-1
|
||||||
|
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: https://github.com/shivammathur/setup-php@v2
|
uses: https://github.com/shivammathur/setup-php@v2
|
||||||
|
@ -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 http://mysql:3306 ${{ 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