Skip to content

Commit

Permalink
Migrate to xcode 14.2, and updating snapshots tests (#36)
Browse files Browse the repository at this point in the history
Updates Env vars to new device

Fixes env issue, and update version number
  • Loading branch information
mustiikhalil authored Jan 16, 2023
1 parent d6fc608 commit a130a2d
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Setup - Xcode
run: sudo xcode-select -s /Applications/Xcode_13.1.app
run: sudo xcode-select -s /Applications/Xcode_14.2.app
- name: Setup - Slather
run: gem install slather
- name: test
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]}
run: cd DemoApp && xcodebuild -scheme DemoApp -project DemoApp.xcodeproj -destination "platform=iOS Simulator,name=$PHONE,OS=$OS" -enableCodeCoverage YES test | xcpretty && exit ${PIPESTATUS[0]}
env:
OS: 16.2
PHONE: "iPhone 14 Pro"
- name: Slather
run: slather
- name: Upload coverage to Codecov
Expand Down
2 changes: 1 addition & 1 deletion LCLabel.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'LCLabel'
s.version = '1.1.0'
s.version = '1.2.0'
s.summary = 'LCLabel is a TextKit 2 based UILabel'
s.description = "LCLabel is a TextKit 2 based UILabel that mimics a the behaviour of UITextView"
s.homepage = 'https://github.com/mustiikhalil/LCLabel'
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Tests/LCLabelTests/LCLabelTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import LCLabel
import SnapshotTesting
import XCTest

// Screenshots taken on an iPhone 13 iOS 15.0
// Screenshots taken on an iPhone 14 Pro iOS 16.2
final class LCLabelTests: XCTestCase {

// MARK: Internal
Expand Down

0 comments on commit a130a2d

Please sign in to comment.