Skip to content

Commit

Permalink
Merge pull request #132 from theappbusiness/release/1.7.0
Browse files Browse the repository at this point in the history
Release/1.7.0
  • Loading branch information
Zachary Borrelli authored Aug 17, 2020
2 parents 91fa12d + 9268f7e commit 482738b
Show file tree
Hide file tree
Showing 69 changed files with 1,747 additions and 1,244 deletions.
92 changes: 92 additions & 0 deletions .github/workflows/ci.yml
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
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

Binary file modified Assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# CHANGELOG

## Pending
## 1.7.0

- Added support for double tapping, long pressing and two finger tapping, with default implementations for any Elements that conform to Tappable. (issue #88)
- Added Swift Package Manager support
- Added a `Refreshable` protocol so for each element/screen that conforms to protocol `refresh` function can be defined
- Added a `DatePicker` element. (issue #55)
- Added the ability to access `value` directly from an element

---

Expand Down
2 changes: 1 addition & 1 deletion Example/Podfile
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

Expand Down
20 changes: 10 additions & 10 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PODS:
- ShowTime (2.5.1)
- TABTestKit (1.5.0):
- TABTestKit/BDD (= 1.5.0)
- TABTestKit/Biometrics (= 1.5.0)
- TABTestKit/BDD (1.5.0)
- TABTestKit/Biometrics (1.5.0)
- ShowTime (2.5.2)
- TABTestKit (1.7.0):
- TABTestKit/BDD (= 1.7.0)
- TABTestKit/Biometrics (= 1.7.0)
- TABTestKit/BDD (1.7.0)
- TABTestKit/Biometrics (1.7.0)

DEPENDENCIES:
- ShowTime
Expand All @@ -19,9 +19,9 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
ShowTime: 0d7ad97e415e3228f0e966e025087ea4175f3361
TABTestKit: ec0d95b302963a57c474d02c20999ee7dac4d842
ShowTime: 5cb2c5314da2983cec44f27123a15473cf29306f
TABTestKit: 937e406987fa0d11b2ee27e84a1c68f7d9cf09b9

PODFILE CHECKSUM: cff5520fee18bc1ac482104a6673ae29b40d9690
PODFILE CHECKSUM: b6b0b334dee592f181c8d68b62229392f1cd2529

COCOAPODS: 1.9.1
COCOAPODS: 1.9.3
13 changes: 7 additions & 6 deletions Example/Pods/Local Podspecs/TABTestKit.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 482738b

Please sign in to comment.