Changed docker up order

This commit is contained in:
jamelreid 2022-03-31 17:08:52 -05:00
parent 1b0405d81e
commit 03d58e911d
1 changed files with 7 additions and 11 deletions

View File

@ -51,10 +51,6 @@ jobs:
npm install -g pnpm
pnpm install
- name: Load docker images and start containers.
working-directory: package/woocommerce/plugins/woocommerce
run: pnpx wc-e2e docker:up
- name: Move current directory to code. We will install zip file in this dir later.
run: mv ./package/woocommerce/plugins/woocommerce/* ./code/woocommerce
@ -76,6 +72,10 @@ jobs:
npm install -g pnpm
pnpm install
- name: Load docker images and start containers.
working-directory: package/woocommerce/plugins/woocommerce
run: pnpx wc-e2e docker:up && pnpx wc-e2e docker:wait
- name: Run tests command.
working-directory: package/woocommerce/plugins/woocommerce
env:
@ -176,10 +176,6 @@ jobs:
run: |
cp init-sample-products.sh initialize.sh
- name: Load docker images and start containers.
working-directory: package/woocommerce/plugins/woocommerce
run: pnpx wc-e2e docker:up
- name: Move current directory to code. We will install zip file in this dir later.
run: mv ./package/woocommerce/plugins/woocommerce/* ./code/woocommerce
@ -200,10 +196,10 @@ jobs:
run: |
npm install -g pnpm
pnpm install
- name: Wait for the Docker container to be built
- name: Load docker images and start containers.
working-directory: package/woocommerce/plugins/woocommerce
run: pnpx wc-e2e docker:wait
run: pnpx wc-e2e docker:up && pnpx wc-e2e docker:wait
- name: Install k6
run: |