Moved wait to docker up step

This commit is contained in:
jamelreid 2022-03-31 14:07:17 -05:00
parent 470ab7786e
commit f381d6a583
1 changed files with 1 additions and 5 deletions

View File

@ -118,7 +118,7 @@ jobs:
- name: Load docker images and start containers.
working-directory: package/woocommerce/plugins/woocommerce
run: pnpx wc-e2e docker:up
run: pnpx wc-e2e docker:up && pnpx wc-e2e docker:wait
- name: Move current directory to code. We will install zip file in this dir later.
run: mv ./package/woocommerce/plugins/woocommerce/* ./code/woocommerce
@ -141,10 +141,6 @@ jobs:
npm install -g pnpm
pnpm install
- name: Wait for the Docker container to be built
working-directory: package/woocommerce/plugins/woocommerce
run: pnpx wc-e2e docker:wait
- name: Run tests command.
working-directory: package/woocommerce/plugins/woocommerce
env: