Skip to content

Commit

Permalink
Update test reports. (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytrokhl committed Jul 8, 2024
2 parents cba787d + c287ab7 commit 36ee51f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,20 @@ parameters:
jobs:
build-and-test-sdk:
macos:
xcode: "15.3"
xcode: 15.4
steps:
- checkout
- run:
name: Install Rosetta translation environment on Apple Silicon Mac
command: softwareupdate --install-rosetta --agree-to-license
- run:
name: Install xcov
command: >
gem install xcov
- run:
name: Run Tests iOS 17
command: >
cd Tests/FrameworkTests/Resources && plutil -insert tokenization_vaultId -string ${tokenization_vaultId} MockedData.plist && plutil -insert vaultID -string ${vaultID} MockedData.plist && cd .. && cd .. && cd .. && xcodebuild test -project VGSCollectSDK.xcodeproj -scheme FrameworkTests -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' -enableCodeCoverage YES -testPlan FrameworkTests
cd Tests/FrameworkTests/Resources && plutil -insert tokenization_vaultId -string ${tokenization_vaultId} MockedData.plist && plutil -insert vaultID -string ${vaultID} MockedData.plist && cd .. && cd .. && cd .. && xcodebuild test -project VGSCollectSDK.xcodeproj -scheme FrameworkTests -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.5' -enableCodeCoverage YES -testPlan FrameworkTests
- run:
name: Calculate Test Coverage
command: >
Expand All @@ -36,27 +39,26 @@ jobs:
else
echo "Code coverage will only be pushed to compass on the main branch."
fi
build-and-ui-test-demo-app-ios-17-iphone15:
macos:
xcode: "15.3"
xcode: "15.4"
steps:
- checkout
- run:
name: Run UI Tests on iPhone 15 iOS 17.4
name: Run UI Tests on iPhone 15 iOS 17.5
command: >
cd demoapp &&
cd demoapp &&
plutil -insert vaultID -string ${vaultID} UITestsMockedData.plist &&
plutil -insert tokenization_vaultId -string ${tokenization_vaultId} UITestsMockedData.plist &&
cd .. &&
pod install &&
xcrun instruments -w "iPhone 15 (17.4) [" || true &&
xcrun instruments -w "iPhone 15 (17.5) [" || true &&
xcodebuild test -workspace demoapp.xcworkspace
-scheme demoappUITests
-sdk iphonesimulator
-destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4'
-destination 'platform=iOS Simulator,name=iPhone 15,OS=17.5'
scan-sast-pr:
parameters:
Expand Down Expand Up @@ -118,4 +120,4 @@ workflows:
jobs:
- scan-sast-full:
context:
- security-tools
- security-tools

0 comments on commit 36ee51f

Please sign in to comment.