Skip to content

Commit

Permalink
Try switching the test to iOS 17.2 and iPhone 15
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed Mar 6, 2024
1 parent 5b48882 commit a1b2efb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,10 @@ jobs:

- name: Configure Xcode 15
run: |
sudo xcode-select -s /Applications/Xcode_15.0.1.app
echo "Creating Runtimes folder if needed..."
sudo mkdir -p /Library/Developer/CoreSimulator/Profiles/Runtimes
echo "Creating symlink of the iOS 16.4 runtime..."
sudo ln -s /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 16.4.simruntime
sudo xcode-select -s /Applications/Xcode_15.2.app
- name: Run tests
run: xcodebuild test -scheme 'Compound' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.4' -skipPackagePluginValidation -resultBundlePath Logs/CompoundTests.xcresult
run: xcodebuild test -scheme 'Compound' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.2' -skipPackagePluginValidation -resultBundlePath Logs/CompoundTests.xcresult

- name: Zip artifacts
if: failure() # We only care about artefacts if the tests fail
Expand Down
4 changes: 2 additions & 2 deletions Tests/.prefire.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
test_configuration:
- template_file_path: PreviewTests.stencil
- simulator_device: "iPhone14"
- required_os: 16
- simulator_device: "iPhone15"
- required_os: 17

0 comments on commit a1b2efb

Please sign in to comment.