Skip to content

Commit

Permalink
ci(tests): update ios version for tests (#6138)
Browse files Browse the repository at this point in the history
* cool

* update
  • Loading branch information
pvinis committed Feb 3, 2022
1 parent 63852e9 commit 145e2f3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ jobs:
BUNDLE_PATH: vendor/bundle # path to install gems and use for caching

macos:
xcode: 13.0.0
xcode: 13.2.1

steps:
- checkout
Expand Down Expand Up @@ -270,7 +270,7 @@ jobs:
BUNDLE_PATH: vendor/bundle # path to install gems and use for caching

macos:
xcode: 13.0.0
xcode: 13.2.1

steps:
- checkout
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:
BUNDLE_PATH: vendor/bundle # path to install gems and use for caching

macos:
xcode: 13.0.0
xcode: 13.2.1

steps:
- attach_workspace:
Expand Down Expand Up @@ -448,7 +448,7 @@ jobs:
environment:
BUNDLE_PATH: vendor/bundle # path to install gems and use for caching
macos:
xcode: 13.0.0
xcode: 13.2.1
steps:
- checkout
- install-gems
Expand Down
3 changes: 2 additions & 1 deletion .yarnrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
unsafe-disable-integrity-migration true
unsafe-disable-integrity-migration true
save-prefix ""
4 changes: 2 additions & 2 deletions Artsy_Tests/Supporting_Files/ARTestHelper.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ - (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:
{
NSOperatingSystemVersion version = [NSProcessInfo processInfo].operatingSystemVersion;

NSAssert(version.majorVersion == 15 && version.minorVersion == 0,
@"The tests should be run on iOS 15.0, not %ld.%ld", version.majorVersion, version.minorVersion);
NSAssert(version.majorVersion == 15 && version.minorVersion == 2,
@"The tests should be run on iOS 15.2, not %ld.%ld", version.majorVersion, version.minorVersion);

CGSize nativeResolution = [UIScreen mainScreen].nativeBounds.size;
NSAssert([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPhone && CGSizeEqualToSize(nativeResolution, CGSizeMake(1170, 2532)),
Expand Down
2 changes: 1 addition & 1 deletion scripts/source-for-bash-env
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export LOCAL_BRANCH
export WORKSPACE="Artsy.xcworkspace"
export SCHEME="Artsy"
export DEVICE_HOST_PLAT="iOS Simulator"
export DEVICE_HOST_OS="15.0"
export DEVICE_HOST_OS="15.2"
export DEVICE_HOST_NAME="iPhone 13 Pro"
export DERIVED_DATA_PATH="derived_data"
export CONFIGURATION="Beta"

0 comments on commit 145e2f3

Please sign in to comment.