Skip to content

Commit 785f491

Browse files
authored
Merge pull request #1061 from Kit/move-performance-plugin-tests
Tests: Move Performance Plugin Tests
2 parents 8c865c6 + 292b6b7 commit 785f491

3 files changed

Lines changed: 525 additions & 497 deletions

File tree

.github/workflows/tests-backward-compat.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ jobs:
3636
DB_HOST: localhost
3737
WORDPRESS_V3_BLOCK_EDITOR_ENABLED: false # Test apiVersion 2 blocks against WordPress 6.2.8
3838
WORDPRESS_DB_SQL_DUMP_FILE: tests/Support/Data/dump-6.2.8.sql # Used to populate the test site database for WordPress 6.2.8
39-
INSTALL_PLUGINS: "autoptimize debloat litespeed-cache rocket-lazy-load sg-cachepress" # Don't include this repository's Plugin here.
40-
INSTALL_PLUGINS_URLS: "http://cktestplugins.wpengine.com/wp-content/uploads/2024/11/disable-doing-it-wrong-notices.zip https://downloads.wordpress.org/plugin/block-visibility.3.3.0.zip https://downloads.wordpress.org/plugin/jetpack-boost.3.5.0.zip" # URLs to specific third party Plugins or versions that support WordPress 6.2.8
39+
INSTALL_PLUGINS_URLS: "https://downloads.wordpress.org/plugin/block-visibility.3.3.0.zip" # URLs to specific third party Plugins or versions that support WordPress 6.2.8
4140
CONVERTKIT_API_KEY: ${{ secrets.CONVERTKIT_API_KEY }} # ConvertKit API Key, stored in the repository's Settings > Secrets
4241
CONVERTKIT_API_SECRET: ${{ secrets.CONVERTKIT_API_SECRET }} # ConvertKit API Secret, stored in the repository's Settings > Secrets
4342
CONVERTKIT_API_KEY_NO_DATA: ${{ secrets.CONVERTKIT_API_KEY_NO_DATA }} # ConvertKit API Key for ConvertKit account with no data, stored in the repository's Settings > Secrets
@@ -125,22 +124,11 @@ jobs:
125124
working-directory: ${{ env.ROOT_DIR }}
126125
run: wp-cli core install --url=127.0.0.1 --title=ConvertKit --admin_user=admin --admin_password=password --admin_email=wordpress@convertkit.local
127126

128-
# env.INSTALL_PLUGINS is a list of Plugin slugs, space separated e.g. contact-form-7 woocommerce.
129-
- name: Install Free Third Party WordPress Plugins
130-
working-directory: ${{ env.ROOT_DIR }}
131-
run: wp-cli plugin install ${{ env.INSTALL_PLUGINS }}
132-
133127
# env.INSTALL_PLUGINS_URLS is a list of Plugin URLs, space separated, to install specific versions of third party Plugins.
134128
- name: Install Free Third Party WordPress Specific Version Plugins
135129
working-directory: ${{ env.ROOT_DIR }}
136130
run: wp-cli plugin install ${{ env.INSTALL_PLUGINS_URLS }}
137131

138-
# These should be stored as a separated list of URLs in the repository Settings > Secrets > Repository Secret > CONVERTKIT_PAID_PLUGIN_URLS.
139-
# We cannot include the URLs in this file, as they're not Plugins we are permitted to distribute.
140-
- name: Install Paid Third Party WordPress Plugins
141-
working-directory: ${{ env.ROOT_DIR }}
142-
run: wp-cli plugin install ${{ secrets.CONVERTKIT_PAID_PLUGIN_URLS }}
143-
144132
# Move Plugin
145133
- name: Move Plugin
146134
run: mv /home/runner/work/convertkit-wordpress/convertkit-wordpress/convertkit ${{ env.PLUGIN_DIR }}

0 commit comments

Comments
 (0)