Skip to content

Commit c291fcc

Browse files
authored
chore: Pinning tvOS tests (#4064)
Pinning tvOS tests to latest stable versions.
1 parent d9280ee commit c291fcc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -128,19 +128,19 @@ jobs:
128128
- runs-on: macos-12
129129
platform: "tvOS"
130130
xcode: "13.4.1"
131-
test-destination-os: "latest"
131+
test-destination-os: "16.1"
132132

133133
# tvOS 16
134134
- runs-on: macos-13
135135
platform: "tvOS"
136136
xcode: "14.3"
137-
test-destination-os: "latest"
137+
test-destination-os: "17.2"
138138

139139
# tvOS 17
140140
- runs-on: macos-14
141141
platform: "tvOS"
142142
xcode: "15.2"
143-
test-destination-os: "latest"
143+
test-destination-os: "17.5"
144144

145145
steps:
146146
- uses: actions/checkout@v4

Tests/SentryTests/Helper/SentryDeviceTests.mm

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ - (void)testOSVersion
8989
const auto osVersion = sentry_getOSVersion();
9090
XCTAssertNotEqual(osVersion.length, 0U);
9191
#if TARGET_OS_OSX
92-
SENTRY_ASSERT_PREFIX(osVersion, @"10.", @"11.", @"12.", @"13.", @"14.");
92+
SENTRY_ASSERT_PREFIX(osVersion, @"10.", @"11.", @"12.", @"13.", @"14.", @"15.");
9393
#elif TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_TV
9494
SENTRY_ASSERT_PREFIX(
95-
osVersion, @"9.", @"10.", @"11.", @"12.", @"13.", @"14.", @"15.", @"16.", @"17.");
95+
osVersion, @"9.", @"10.", @"11.", @"12.", @"13.", @"14.", @"15.", @"16.", @"17.", @"18.");
9696
#elif TARGET_OS_WATCH
9797
// TODO: create a watch UI test target to test this branch
9898
SENTRY_ASSERT_PREFIX(osVersion, @"2.", @"3.", @"4.", @"5.", @"6.", @"7.", @"8.", @"9.");

0 commit comments

Comments
 (0)