test
This commit is contained in:
parent
7acce049e2
commit
4fcfa97d0d
2 changed files with 6 additions and 3 deletions
|
@ -41,9 +41,6 @@ jobs:
|
||||||
- name: Install mysqladmin
|
- name: Install mysqladmin
|
||||||
run: sudo apt update && sudo apt -y upgrade && sudo apt -y install mysql-client
|
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
|
- name: Setup Test Environment
|
||||||
run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 6.6
|
run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 6.6
|
||||||
|
|
||||||
|
|
|
@ -177,6 +177,12 @@ install_db() {
|
||||||
fi
|
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
|
||||||
|
install_wp_plugins
|
||||||
install_test_suite
|
install_test_suite
|
||||||
install_db
|
install_db
|
||||||
|
|
Loading…
Reference in a new issue