Add working directory

This commit is contained in:
roykho 2021-11-17 08:39:05 -08:00
parent c4998a931f
commit 24c565ba68
No known key found for this signature in database
GPG Key ID: 7B36C0EA25795714
2 changed files with 9 additions and 8 deletions

View File

@ -46,6 +46,7 @@ jobs:
pnpm install
- name: Load docker images and start containers.
working-directory: package/woocommerce
run: pnpm nx docker-up woocommerce
- name: Move current directory to code. We will install zip file in this dir later.

View File

@ -8,13 +8,13 @@
"options": {
"script": "composer:install"
}
},
},
"composer-dump-autoload": {
"executor": "@nrwl/workspace:run-script",
"options": {
"script": "composer:dump-autoload"
}
},
},
"build": {
"executor": "@nrwl/workspace:run-script",
"options": {
@ -127,18 +127,18 @@
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": [
"bash tests/bin/install.sh woo_test root root 127.0.0.1 latest"
],
"cwd": "plugins/woocommerce"
"bash tests/bin/install.sh woo_test root root 127.0.0.1 latest"
],
"cwd": "plugins/woocommerce"
}
},
"test-code-coverage": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": [
"RUN_CODE_COVERAGE=1 bash tests/bin/phpunit.sh"
],
"cwd": "plugins/woocommerce"
"RUN_CODE_COVERAGE=1 bash tests/bin/phpunit.sh"
],
"cwd": "plugins/woocommerce"
}
}
}