feat(TableViewDriver): allow lightweightDiffing (#219) #199
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
name: CI | |
on: [push] | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app/Contents/Developer | |
WORKSPACE: ReactiveLists.xcworkspace | |
LIBRARY_SCHEME: ReactiveLists | |
EXAMPLE_APP_SCHEME: Example | |
IOS_SDK: iphonesimulator14.5 | |
jobs: | |
iOS: | |
name: iOS Test | |
runs-on: macOS-latest | |
strategy: | |
matrix: | |
destination: ["OS=15.0,name=iPhone 13"] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Select Xcode version | |
run: sudo xcode-select -s '/Applications/Xcode_14.2.app/Contents/Developer' | |
- name: Bundle Install | |
run: bundle install | |
- uses: actions/cache@v1 | |
with: | |
path: Pods | |
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pods- | |
- name: Install Pods | |
run: bundle exec pod install | |
- name: Run Tests | |
run: | | |
set -o pipefail | |
xcodebuild clean | |
xcodebuild test -workspace "$WORKSPACE" -scheme "$LIBRARY_SCHEME" -destination "${{ matrix.destination }}" -configuration Debug -enableCodeCoverage YES ONLY_ACTIVE_ARCH=NO | bundle exec xcpretty -c | |
xcodebuild test -workspace "$WORKSPACE" -scheme "$EXAMPLE_APP_SCHEME" -destination "${{ matrix.destination }}" -configuration Debug -enableCodeCoverage YES ONLY_ACTIVE_ARCH=NO | bundle exec xcpretty -c | |
- name: Run Code Coverage | |
run: bash <(curl -s https://codecov.io/bash) |