-
Notifications
You must be signed in to change notification settings - Fork 81
35 lines (33 loc) · 1.14 KB
/
okta-oidc.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: Okta OIDC iOS
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
UnitTests:
runs-on: macos-latest
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: iOS
run: set -o pipefail && xcodebuild -project okta-oidc.xcodeproj -scheme "okta-oidc-ios" -destination "platform=iOS Simulator,OS=latest,name=iPhone 15" clean test | xcpretty
- name: macOS
run: set -o pipefail && xcodebuild -project okta-oidc.xcodeproj -scheme "okta-oidc-mac" -destination "platform=macOS" clean test | xcpretty
- name: Swift
run: swift test -v
UITests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: iOS
run: set -o pipefail && xcodebuild -project okta-oidc.xcodeproj -scheme "okta-oidc" -destination "platform=iOS Simulator,OS=latest,name=iPhone 15" clean test | xcpretty
PackageValidation:
runs-on: macos-latest
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Cocoapods
run: pod lib lint --allow-warnings