-
Notifications
You must be signed in to change notification settings - Fork 26
35 lines (35 loc) · 971 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
28
29
30
31
32
33
34
35
name: Puree
on: [push, pull_request]
jobs:
iOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Run Tests with Xcode
run: |
DESTINATION="platform=iOS Simulator,name=iPhone 8" SCHEME="Puree"
xcodebuild test -project Puree.xcodeproj -scheme "${SCHEME}" -destination "${DESTINATION}" -configuration Debug CODE_SIGNING_ALLOWED=NO
SwiftPM:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Run Tests with Swift Package Manager
run: swift test
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: SwiftLint
uses: norio-nomura/[email protected]
with:
args: --strict
CocoaPodsLint:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: |
gem install cocoapods
pod repo update
- name: CocoaPods
run: pod lib lint --allow-warnings