Upgrade the project to use Xcode 26.4 (and the 26.4 simulator for tests). (#5375)
* Upgrade the project to use Xcode 26.4 (and iOS 26.4 when running tests). * Update the test OS assertions. * updated preview tests # Conflicts: # PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenInviteCell.iPhone-en-GB-0.png # PreviewTests/Sources/__Snapshots__/PreviewTests/homeScreenInviteCell.iPhone-pseudo-0.png * update compound preview tests --------- Co-authored-by: Mauro Romito <mauro.romito@element.io>
This commit is contained in:
4
.github/workflows/compound-ios.yml
vendored
4
.github/workflows/compound-ios.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Configure Xcode 26
|
||||
run: sudo xcode-select -s /Applications/Xcode_26.1.1.app
|
||||
run: sudo xcode-select -s /Applications/Xcode_26.4.app
|
||||
|
||||
- name: Install sourcery
|
||||
run: brew install sourcery
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
working-directory: compound-ios
|
||||
run: set -o pipefail && xcodebuild test -scheme 'Compound' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=Snapshots,OS=26.1' -skipPackagePluginValidation -resultBundlePath Logs/CompoundTests.xcresult | xcbeautify --renderer github-actions
|
||||
run: set -o pipefail && xcodebuild test -scheme 'Compound' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=Snapshots,OS=26.4' -skipPackagePluginValidation -resultBundlePath Logs/CompoundTests.xcresult | xcbeautify --renderer github-actions
|
||||
|
||||
- name: Zip artifacts
|
||||
if: failure() # We only care about artefacts if the tests fail
|
||||
|
||||
@@ -21,7 +21,7 @@ struct PreviewTests {
|
||||
|
||||
private let deviceConfig: ViewImageConfig = .iPhoneX
|
||||
private let simulatorDevice: String? = "iPhone14,6" // iPhone SE 3rd Generation
|
||||
private let requiredOSVersion = (major: 26, minor: 1)
|
||||
private let requiredOSVersion = (major: 26, minor: 4)
|
||||
/// The key is the name we will give to the snapshot
|
||||
/// The value is the actual device that will be used to render the preview
|
||||
private let snapshotDevices: [SnapshotDevice] = [.init(name: "iPhone", device: "iPhone 17"),
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:19e12d5dbc56168733ce4956d8b420fe9d2ce72d404ce2ec56323985ab2c226a
|
||||
size 145006
|
||||
oid sha256:622a3c6ed130576fca9913946d3efdf1be5f2977dda3d59e46b818d02f293435
|
||||
size 145011
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0843207a3645299effecf77d86caa8cf99a801e253c9ca49f789c014965a4e3c
|
||||
size 181159
|
||||
oid sha256:88aade9192fc0c2db59aca0225c191af158e215a7f85b73783864f4ba1a5dfe7
|
||||
size 181128
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:08cf95b60f99486657ffc4b96c557f458c9c843bbe2d0265dbd4b40c3a232662
|
||||
size 96042
|
||||
oid sha256:10a5ddb5f338ce84550e062fbb6eca86fc39990c2e19e9749b706fd1993244f1
|
||||
size 96052
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:79301b22af27679df686a607d6b1f8011b6ebea37f97040e900794372adaa218
|
||||
size 141913
|
||||
oid sha256:4d150fced8cbe1943d018bfae07f5b83d5b2c4000e7d74391fca76580dc4a13a
|
||||
size 141966
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6822abf96bfd69a5bfea7c9e3b32a632dccd1d1434e3e851eb65804a0d359440
|
||||
size 144361
|
||||
oid sha256:3a06b2b12b965eb523404a24a7c2910bf34dd9cfc3377610295999c94b979e33
|
||||
size 144349
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3da597921389f7f4c271eb691945f13c09476454bc491161d28022adec4b31c0
|
||||
size 179232
|
||||
oid sha256:b2394cc66341f44363f1847d8845f7ba1663332544d51154d798f6484b85fa61
|
||||
size 179181
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:914849110d107a01c557f1d6289ace6eb5dc8b9831215cb486ae9401495b2e36
|
||||
size 95480
|
||||
oid sha256:05f692b31b4df0ecde29bb25009034cf5f658711e006d6b4981e24e83d713b22
|
||||
size 95491
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8c771e99c1848dcc57f952e2d8426da9adeb97cb97fa8797b3e15f7e137ee08f
|
||||
size 140035
|
||||
oid sha256:c2060526dac081f13a74f5719d7e44c9dd0c519ce73f7a91df27e074b77e5651
|
||||
size 140095
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:01f374840a1098f1870230fa9784cf56b250858b7341d575643af4f178932e7c
|
||||
size 645596
|
||||
oid sha256:29fa3e7505f4a396c6645ee186802598a06961f6db3f23b4d3b92e5e06eacc5f
|
||||
size 645474
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af206923909523cd2d61b7af9d9e66a333a688c758131550d37357a740ceccac
|
||||
size 651937
|
||||
oid sha256:b7ebe23137c064f1cea570958d6534f431ab4ed1bd13ea6c2368961f6c8c69f1
|
||||
size 651785
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:35bbd58addd849a6e088928b15496347e3e05d5961f089485bbbdd2623ed42d0
|
||||
size 432550
|
||||
oid sha256:9e6027a10e9a829a7bab6e6628a4c38652a5992a26bc29bb7f28ae87cbc80b05
|
||||
size 432890
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2fb2d1117f8af713e510b37d136f9b9c73c2d6eb7fc00ab3726b1b2e84e2e208
|
||||
size 440193
|
||||
oid sha256:64369a8ac8ae333208091eca2236f2adb0e130a760d19a0eb7b880d947211113
|
||||
size 440559
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user