Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
justSmK committed Nov 21, 2024
1 parent 77b327b commit 453f803
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,14 @@ jobs:

- name: Run unit tests
run: bundle exec fastlane unitTestLane


- name: Run unit tests directly
run: |
set -o pipefail && xcodebuild test \
-project Mindbox.xcodeproj \
-scheme Mindbox \
-destination 'platform=iOS Simulator,name=iPhone SE (3rd generation),OS=17.0' \
-only-testing:MindboxTests \
CODE_SIGNING_ALLOWED=NO \
| xcpretty
3 changes: 2 additions & 1 deletion fastlane/Fastfile.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Fastfile: LaneFile {
xcodebuildFormatter: "xcpretty",
disableConcurrentTesting: true,
testWithoutBuilding: .userDefined(false),
xcargs: "CI=true CODE_SIGNING_ALLOWED=NO",
xcargs: "CI=true CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO SWIFT_COMPILATION_MODE=singlefile",
destination: "platform=iOS Simulator,name=iPhone SE (3rd generation),OS=18.1",
numberOfRetries: 3
)
}
Expand Down

0 comments on commit 453f803

Please sign in to comment.