Remove enabling HPOS via old external plugin

This commit is contained in:
Rodel Calasagsag 2023-10-22 21:11:41 +08:00
parent 240fdefb7a
commit 22a1aabdd4
2 changed files with 1 additions and 10 deletions

View File

@ -147,8 +147,6 @@ jobs:
- name: Load docker images and start containers.
working-directory: plugins/woocommerce
env:
ENABLE_HPOS: 0
run: |
pnpm env:dev --filter=woocommerce
pnpm env:performance-init --filter=woocommerce

View File

@ -1,7 +1,5 @@
#!/bin/bash
ENABLE_HPOS="${ENABLE_HPOS:-0}"
echo "Initializing WooCommerce E2E"
wp-env run tests-cli wp plugin activate woocommerce
@ -32,9 +30,4 @@ wp-env run tests-cli wp import wp-content/plugins/woocommerce/sample-data/sample
# install Storefront
wp-env run tests-cli wp theme install storefront --activate
if [ $ENABLE_HPOS == 1 ]; then
echo -e 'Enable High-Performance Order Tables\n'
wp-env run tests-cli wp plugin install https://gist.github.com/vedanshujain/564afec8f5e9235a1257994ed39b1449/archive/b031465052fc3e04b17624acbeeb2569ef4d5301.zip --activate
fi
echo "Success! Your E2E Test Environment is now ready."