test
All checks were successful
/ test (push) Successful in 1s
Unit Testing / Run phpunit tests (pull_request) Successful in 4m14s

This commit is contained in:
André Menrath 2024-09-21 08:44:46 +02:00
parent 1ffd799d6b
commit 67d7c8cf72

View file

@ -4,6 +4,11 @@ on:
branches: branches:
- main - main
pull_request: pull_request:
env:
WP_TESTS_DIR: /workspace/wordpress-test-lib/
WP_CORE_DIR: /workspace/wordpress/
jobs: jobs:
phpunit: phpunit:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -39,8 +44,6 @@ jobs:
- name: Clone plugin dependencies - name: Clone plugin dependencies
run: git clone https://code.event-federation.eu/Event-Federation/wordpress-activitypub.git /tmp/wordpress/wp-content/plugins/activitypub/ run: git clone https://code.event-federation.eu/Event-Federation/wordpress-activitypub.git /tmp/wordpress/wp-content/plugins/activitypub/
- run: rm -r /tmp/wordpress/ && rm -r /tmp/wordpress-tests-lib/
- name: Setup Test Environment - name: Setup Test Environment
run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 latest run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 latest