forgejo_runner #26
1 changed files with 7 additions and 7 deletions
|
@ -26,12 +26,12 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: https://code.forgejo.org/actions/checkout@v4
|
||||
|
||||
- name: Cache composer dependencies
|
||||
id: cache-primes
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /root/.cache/composer
|
||||
key: cache-1
|
||||
# - name: Cache composer dependencies
|
||||
# id: cache-primes
|
||||
# uses: actions/cache@v4
|
||||
# with:
|
||||
# path: /root/.cache/composer
|
||||
# key: cache-1
|
||||
|
||||
- name: Setup PHP
|
||||
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
|
||||
|
||||
- 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
|
||||
run: ./vendor/bin/phpunit
|
||||
|
|
Loading…
Reference in a new issue