test
This commit is contained in:
parent
f8d0f01be0
commit
6020c1f277
1 changed files with 11 additions and 0 deletions
|
@ -37,6 +37,16 @@ jobs:
|
||||||
${{ env.WP_TESTS_DIR }}
|
${{ env.WP_TESTS_DIR }}
|
||||||
key: cache-wordpress-1
|
key: cache-wordpress-1
|
||||||
|
|
||||||
|
- name: Cache Composer
|
||||||
|
id: cache-composer
|
||||||
|
uses: https://code.forgejo.org/actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
./vendor/
|
||||||
|
/root/.cache/composer/
|
||||||
|
/usr/local/bin/composer
|
||||||
|
key: cache-composer-2
|
||||||
|
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: https://github.com/shivammathur/setup-php@v2
|
uses: https://github.com/shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
|
@ -47,6 +57,7 @@ jobs:
|
||||||
runner: self-hosted
|
runner: self-hosted
|
||||||
|
|
||||||
- name: Install Composer dependencies for PHP
|
- name: Install Composer dependencies for PHP
|
||||||
|
if: steps.cache-composer.outputs.cache-hit != 'true'
|
||||||
uses: ramsey/composer-install@v3
|
uses: ramsey/composer-install@v3
|
||||||
|
|
||||||
- name: Install mysqladmin
|
- name: Install mysqladmin
|
||||||
|
|
Loading…
Reference in a new issue