Add working directory
This commit is contained in:
parent
c4998a931f
commit
24c565ba68
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue