Skip to content

Commit 6d25498

Browse files
committed
Split test commands for readability
h/t @mokagio
1 parent fda3739 commit 6d25498

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.circleci/config.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ jobs:
5252
- ios/wait-for-simulator
5353
- run:
5454
name: Run Unit Tests
55-
command: bundle exec fastlane test_without_building xctestrun:DerivedData/Build/Products/WooCommerce_UnitTests_iphonesimulator13.2-x86_64.xctestrun destination:"platform=iOS Simulator,id=$SIMULATOR_UDID" try_count:3
55+
command: |
56+
bundle exec fastlane test_without_building \
57+
xctestrun:DerivedData/Build/Products/WooCommerce_UnitTests_iphonesimulator13.2-x86_64.xctestrun \
58+
destination:"platform=iOS Simulator,id=$SIMULATOR_UDID" try_count:3
5659
- ios/save-xcodebuild-artifacts:
5760
result-bundle-path: build/results
5861
UI Tests:
@@ -83,7 +86,10 @@ jobs:
8386
- ios/wait-for-simulator
8487
- run:
8588
name: Run UI Tests
86-
command: bundle exec fastlane test_without_building xctestrun:DerivedData/Build/Products/WooCommerce_UITests_iphonesimulator13.2-x86_64.xctestrun destination:"platform=iOS Simulator,id=$SIMULATOR_UDID" try_count:3
89+
command: |
90+
bundle exec fastlane test_without_building \
91+
xctestrun:DerivedData/Build/Products/WooCommerce_UITests_iphonesimulator13.2-x86_64.xctestrun \
92+
destination:"platform=iOS Simulator,id=$SIMULATOR_UDID" try_count:3
8793
- ios/save-xcodebuild-artifacts:
8894
result-bundle-path: build/results
8995
- when:

0 commit comments

Comments
 (0)