forked from netreconlab/CareKitSample-ParseCareKit
-
Notifications
You must be signed in to change notification settings - Fork 2
27 lines (25 loc) · 894 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: ci
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CI_XCODE_VER: '/Applications/Xcode_12.2.app/Contents/Developer'
jobs:
ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build-Test
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project OCKSample.xcodeproj -scheme OCKSample -destination platform\=iOS\ Simulator,name\=iPhone\ 12\ Pro\ Max test | xcpretty
- name: Send codecov
run: bash <(curl https://codecov.io/bash)
watchos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build-Test
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project OCKSample.xcodeproj -scheme OCKWatchSample -destination platform\=iOS\ Simulator,name\=iPhone\ 12\ Pro\ Max | xcpretty
- name: Send codecov
run: bash <(curl https://codecov.io/bash)