File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ CI_CLOUD_TASKS_PROJECT_ID=
66CI_CLOUD_TASKS_QUEUE =
77CI_CLOUD_TASKS_LOCATION =
88CI_CLOUD_TASKS_SERVICE_ACCOUNT_EMAIL =
9- CI_SERVICE_ACCOUNT_JSON_KEY =
9+ CI_SERVICE_ACCOUNT_JSON_KEY_PATH =
Original file line number Diff line number Diff line change @@ -116,4 +116,5 @@ jobs:
116116 CI_CLOUD_TASKS_CUSTOM_QUEUE : ${{ matrix.payload.queue }}
117117 run : |
118118 echo $CI_SERVICE_ACCOUNT_JSON_KEY > tests/Support/gcloud-key-valid.json
119+ touch .env
119120 vendor/bin/phpunit
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ services:
77 - .env
88 volumes :
99 - .:/var/www/html
10- - ${CI_SERVICE_ACCOUNT_JSON_KEY }:/var/www/html/tests/Support/gcloud-key-valid.json
10+ - ${CI_SERVICE_ACCOUNT_JSON_KEY_PATH-./tests/Support/gcloud-key-valid.json }:/var/www/html/tests/Support/gcloud-key-valid.json
1111 mysql :
1212 image : mysql:8
1313 ports :
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ protected function setUp(): void
2424 'CI_CLOUD_TASKS_QUEUE ' ,
2525 'CI_CLOUD_TASKS_LOCATION ' ,
2626 'CI_CLOUD_TASKS_SERVICE_ACCOUNT_EMAIL ' ,
27- 'CI_SERVICE_ACCOUNT_JSON_KEY ' ,
2827 ];
2928
3029 foreach ($ requiredEnvs as $ env ) {
You can’t perform that action at this time.
0 commit comments