Add cwd and update paths

This commit is contained in:
roykho 2021-11-17 08:07:53 -08:00
parent 347ed51214
commit c4998a931f
No known key found for this signature in database
GPG Key ID: 7B36C0EA25795714
1 changed files with 8 additions and 2 deletions

View File

@ -126,13 +126,19 @@
"install-unit-test-db": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"command": "bash plugins/woocommerce/tests/bin/install.sh woo_test root root 127.0.0.1 latest"
"commands": [
"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": {
"command": "RUN_CODE_COVERAGE=1 bash plugins/woocommerce/tests/bin/phpunit.sh"
"commands": [
"RUN_CODE_COVERAGE=1 bash tests/bin/phpunit.sh"
],
"cwd": "plugins/woocommerce"
}
}
}