test
Some checks failed
PHP Code Checker / Run PHP Code Checker (pull_request) Failing after 2s
Unit Testing / Run phpunit tests (pull_request) Failing after 1s

This commit is contained in:
André Menrath 2024-09-21 12:10:31 +02:00
parent f0903de277
commit d520ed5939
2 changed files with 10 additions and 1 deletions

View file

@ -25,6 +25,13 @@ jobs:
- name: Checkout
uses: https://code.forgejo.org/actions/checkout@v4
- name: Cache Composer
id: cache-composer
uses: https://code.forgejo.org/actions/actions/cache@v4
with:
path: vendor
key: cache-composer-1
- name: Setup PHP
uses: https://github.com/shivammathur/setup-php@v2
with:
@ -35,6 +42,7 @@ jobs:
runner: self-hosted
- name: Install Composer dependencies for PHP
if: steps.cache-composer.outputs.cache-hit != 'true'
uses: ramsey/composer-install@v3
- name: Detect coding standard violations

View file

@ -30,7 +30,7 @@ jobs:
- name: Cache WordPress Setup
id: cache-wordpress
uses: actions/cache@v4
uses: https://code.forgejo.org/actions/actions/cache@v4
with:
path: |
WP_TESTS_DIR
@ -53,6 +53,7 @@ jobs:
run: sudo apt update && sudo apt -y upgrade && sudo apt -y install mysql-client
- name: Setup Test Environment
if: steps.cache-wordpress.outputs.cache-hit != 'true'
run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 6.6
- name: Unit Testing