Skip to content

Commit a130a2d

Browse files
authored
Migrate to xcode 14.2, and updating snapshots tests (#36)
Updates Env vars to new device Fixes env issue, and update version number
1 parent d6fc608 commit a130a2d

File tree

10 files changed

+7
-4
lines changed

10 files changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v1
1717
- name: Setup - Xcode
18-
run: sudo xcode-select -s /Applications/Xcode_13.1.app
18+
run: sudo xcode-select -s /Applications/Xcode_14.2.app
1919
- name: Setup - Slather
2020
run: gem install slather
2121
- name: test
22-
run: cd DemoApp && xcodebuild -scheme DemoApp -project DemoApp.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 13,OS=15.0' -enableCodeCoverage YES test | xcpretty && exit ${PIPESTATUS[0]}
22+
run: cd DemoApp && xcodebuild -scheme DemoApp -project DemoApp.xcodeproj -destination "platform=iOS Simulator,name=$PHONE,OS=$OS" -enableCodeCoverage YES test | xcpretty && exit ${PIPESTATUS[0]}
23+
env:
24+
OS: 16.2
25+
PHONE: "iPhone 14 Pro"
2326
- name: Slather
2427
run: slather
2528
- name: Upload coverage to Codecov

LCLabel.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'LCLabel'
3-
s.version = '1.1.0'
3+
s.version = '1.2.0'
44
s.summary = 'LCLabel is a TextKit 2 based UILabel'
55
s.description = "LCLabel is a TextKit 2 based UILabel that mimics a the behaviour of UITextView"
66
s.homepage = 'https://github.com/mustiikhalil/LCLabel'
8 Bytes
Loading
-104 Bytes
Loading
-104 Bytes
Loading
354 Bytes
Loading
202 Bytes
Loading
269 Bytes
Loading
157 Bytes
Loading

Tests/LCLabelTests/LCLabelTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import LCLabel
77
import SnapshotTesting
88
import XCTest
99

10-
// Screenshots taken on an iPhone 13 iOS 15.0
10+
// Screenshots taken on an iPhone 14 Pro iOS 16.2
1111
final class LCLabelTests: XCTestCase {
1212

1313
// MARK: Internal

0 commit comments

Comments
 (0)