From 67d7c8cf721b8d92836cbdf475b57fd0528c1ca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Sat, 21 Sep 2024 08:44:46 +0200 Subject: [PATCH] test --- .forgejo/workflows/phpunit.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/phpunit.yml b/.forgejo/workflows/phpunit.yml index 5c1cacc..e5bb2c3 100644 --- a/.forgejo/workflows/phpunit.yml +++ b/.forgejo/workflows/phpunit.yml @@ -4,6 +4,11 @@ on: branches: - main pull_request: + +env: + WP_TESTS_DIR: /workspace/wordpress-test-lib/ + WP_CORE_DIR: /workspace/wordpress/ + jobs: phpunit: runs-on: ubuntu-latest @@ -39,8 +44,6 @@ jobs: - name: Clone plugin dependencies 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 run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 latest