test
This commit is contained in:
parent
1ffd799d6b
commit
67d7c8cf72
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue