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

This commit is contained in:
André Menrath 2024-09-21 09:31:19 +02:00
parent 7acce049e2
commit 4fcfa97d0d
2 changed files with 6 additions and 3 deletions

View file

@ -41,9 +41,6 @@ jobs:
- name: Install mysqladmin
run: sudo apt update && sudo apt -y upgrade && sudo apt -y install mysql-client
- name: Clone plugin dependencies
run: git clone https://code.event-federation.eu/Event-Federation/wordpress-activitypub.git $WP_CORE_DIR/wp-content/plugins/activitypub/
- name: Setup Test Environment
run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 6.6

View file

@ -177,6 +177,12 @@ install_db() {
fi
}
install_wp_plugins() {
download https://downloads.wordpress.org/plugin/activitypub.3.2.5.zip $TMPDIR/activitypub.zip
unzip $TMPDIR/activitypub.zip -d $WP_CORE_DIR/wp-content/plugins/
}
install_wp
install_wp_plugins
install_test_suite
install_db