Skip to content

Commit 04b3af3

Browse files
committed
try this
1 parent 87368e7 commit 04b3af3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.circleci/config.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,9 @@ commands:
488488
parameters:
489489
test_plan:
490490
type: string
491+
generate_snapshots:
492+
type: boolean
493+
default: false
491494
steps:
492495
- checkout
493496
- install-dependencies
@@ -502,7 +505,7 @@ commands:
502505
directory: fastlane/test_output/xctest/ios
503506
bundle_name: BackendIntegrationTests
504507
- create-snapshot-pr-if-needed:
505-
condition: << pipeline.parameters.generate_snapshots >>
508+
condition: << parameters.generate_snapshots >>
506509
job: "create_snapshots_repo_pr"
507510
version: ""
508511
- store_test_results:
@@ -1151,6 +1154,7 @@ jobs:
11511154
steps:
11521155
- run-backend-tests:
11531156
test_plan: "BackendIntegrationTests-SK1"
1157+
generate_snapshots: << pipeline.parameters.generate_snapshots >>
11541158
- slack-notify-on-fail
11551159

11561160
backend-integration-tests-SK2:
@@ -1159,6 +1163,7 @@ jobs:
11591163
steps:
11601164
- run-backend-tests:
11611165
test_plan: "BackendIntegrationTests-SK2"
1166+
generate_snapshots: << pipeline.parameters.generate_snapshots >>
11621167
- slack-notify-on-fail
11631168

11641169
backend-integration-tests-other:
@@ -1167,6 +1172,7 @@ jobs:
11671172
steps:
11681173
- run-backend-tests:
11691174
test_plan: "BackendIntegrationTests-Other"
1175+
generate_snapshots: << pipeline.parameters.generate_snapshots >>
11701176
- slack-notify-on-fail
11711177

11721178
backend-integration-tests-offline:
@@ -1175,6 +1181,7 @@ jobs:
11751181
steps:
11761182
- run-backend-tests:
11771183
test_plan: "BackendIntegrationTests-Offline"
1184+
generate_snapshots: << pipeline.parameters.generate_snapshots >>
11781185
- slack-notify-on-fail
11791186

11801187
backend-integration-tests-custom-entitlements:
@@ -1183,6 +1190,7 @@ jobs:
11831190
steps:
11841191
- run-backend-tests:
11851192
test_plan: "BackendIntegrationTests-CustomEntitlements"
1193+
generate_snapshots: << pipeline.parameters.generate_snapshots >>
11861194
- slack-notify-on-fail
11871195

11881196
run-maestro-e2e-tests:

0 commit comments

Comments
 (0)