-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from theappbusiness/release/1.7.0
Release/1.7.0
- Loading branch information
Showing
69 changed files
with
1,747 additions
and
1,244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
|
||
name: TABTestKit CI | ||
|
||
on: | ||
workflow_dispatch: # This allows you to manually run the workflow from GitHub's web UI | ||
pull_request: | ||
branches: [ '*' ] # This means this workflow will run when any PR is created or any changes are pushed to a PR, on any branch | ||
|
||
jobs: | ||
test_xcode10_ios12: | ||
name: Run tests on Xcode 10 and iOS 12 | ||
runs-on: macOS-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set Xcode version to 10.3 | ||
run: sudo xcode-select -switch /Applications/Xcode_10.3.app | ||
- name: Build for testing | ||
run: xcodebuild build-for-testing -workspace Example/TABTestKit.xcworkspace -scheme TABTestKit-Example -destination 'platform=iOS Simulator,name=iPhone Xs,OS=12.4' | ||
- name: Test on iPhone Xs | ||
run: xcodebuild test-without-building -workspace Example/TABTestKit.xcworkspace -scheme TABTestKit-Example -destination 'platform=iOS Simulator,name=iPhone Xs,OS=12.4' | ||
- name: Archive tests results | ||
if: ${{ failure() }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Test-TABTestKit-Xcode10-iOS12.xcresult | ||
path: /Users/runner/Library/Developer/Xcode/DerivedData/*/Logs/Test/*.xcresult | ||
|
||
test_xcode11_ios13: | ||
name: Run tests on Xcode 11 and iOS 13 | ||
runs-on: macOS-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set Xcode version to 11.6 | ||
run: sudo xcode-select -switch /Applications/Xcode_11.6.app | ||
- name: Build for testing | ||
run: xcodebuild build-for-testing -workspace Example/TABTestKit.xcworkspace -scheme TABTestKit-Example -destination 'platform=iOS Simulator,name=iPhone 11,OS=13.6' | ||
- name: Test on iPhone 11 | ||
run: xcodebuild test-without-building -workspace Example/TABTestKit.xcworkspace -scheme TABTestKit-Example -destination 'platform=iOS Simulator,name=iPhone 11,OS=13.6' | ||
- name: Archive tests results | ||
if: ${{ failure() }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Test-TABTestKit-Xcode11-iOS13.xcresult | ||
path: /Users/runner/Library/Developer/Xcode/DerivedData/*/Logs/Test/*.xcresult | ||
|
||
build_spm: | ||
name: Ensure Swift Package Manager builds | ||
runs-on: macOS-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Set Xcode version to 11.6 | ||
run: sudo xcode-select -switch /Applications/Xcode_11.6.app | ||
- name: Build Swift Package Manager | ||
run: xcodebuild -workspace package.xcworkspace -scheme TABTestKit -destination 'platform=iOS Simulator,name=iPhone 11,OS=13.6' | ||
|
||
build_carthage: | ||
name: Ensure Carthage builds | ||
runs-on: macOS-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Set Xcode version to 10.3 | ||
run: sudo xcode-select -switch /Applications/Xcode_10.3.app | ||
- name: Build Carthage | ||
run: carthage build --archive | ||
- name: Set Xcode version to 11.6 | ||
run: sudo xcode-select -switch /Applications/Xcode_11.6.app | ||
- name: Build Carthage | ||
run: carthage build --archive | ||
|
||
build_cocoapods: | ||
name: Ensure Cocoapods builds | ||
runs-on: macOS-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Set Xcode version to 10.3 | ||
run: sudo xcode-select -switch /Applications/Xcode_10.3.app | ||
- name: Build Cocoapods | ||
run: pod lib lint --verbose | ||
- name: Set Xcode version to 11.6 | ||
run: sudo xcode-select -switch /Applications/Xcode_11.6.app | ||
- name: Build Cocoapods | ||
run: pod lib lint --verbose |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
use_frameworks! | ||
platform :ios, '10.0' | ||
platform :ios, '12.4' | ||
|
||
target 'TABTestKit_Example' do | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.