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. - name: Load docker images and start containers.
working-directory: plugins/woocommerce working-directory: plugins/woocommerce
env:
ENABLE_HPOS: 0
run: | run: |
pnpm env:dev --filter=woocommerce pnpm env:dev --filter=woocommerce
pnpm env:performance-init --filter=woocommerce pnpm env:performance-init --filter=woocommerce
@ -264,4 +262,4 @@ jobs:
-f pr_number=$PR_NUMBER \ -f pr_number=$PR_NUMBER \
-f commit_sha=$COMMIT_SHA \ -f commit_sha=$COMMIT_SHA \
-f s3_root=public \ -f s3_root=public \
--repo woocommerce/woocommerce-test-reports --repo woocommerce/woocommerce-test-reports

View File

@ -1,7 +1,5 @@
#!/bin/bash #!/bin/bash
ENABLE_HPOS="${ENABLE_HPOS:-0}"
echo "Initializing WooCommerce E2E" echo "Initializing WooCommerce E2E"
wp-env run tests-cli wp plugin activate woocommerce 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 # install Storefront
wp-env run tests-cli wp theme install storefront --activate 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." echo "Success! Your E2E Test Environment is now ready."