forked from openid/AppAuth-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/openid/AppAuth-iOS
* 'master' of https://github.com/openid/AppAuth-iOS: (22 commits) Update issue templates Bump cocoapods-downloader from 1.5.1 to 1.6.3 (openid#700) Update issue templates (openid#699) Remove empty AppAuthEnterpriseUserAgent folder from Xcode project. (openid#697) Fix changelog typo. Prepare for 1.5.0 release (openid#692) Rollback the EnterpriseUserAgent target. (openid#693) Run tests against the Xcode project (openid#696) Run pod lib lint tests (openid#695) Have swift test generate code coverage. Reenable Codecov. Update tests badge. Set min iOS version to 9 for SPM (openid#690) Document the design principles behind AppAuth Add ASWebAuthenticationSession support in OIDExternalUserAgentMac. (openid#675) Use TARGET_OS_OSX for macOS rather than TARGET_OS_MAC (openid#681) Fix up type in designated initializer (openid#662) Remove unmatched diagnostic pop (openid#641) Fix branch name Update init unavailable doc on OIDServiceDiscovery (openid#640) ... # Conflicts: # AppAuth.xcodeproj/project.pbxproj # AppAuth.xcodeproj/xcshareddata/xcschemes/AppAuthEnterpriseUserAgent.xcscheme # Package.swift
- Loading branch information
Showing
30 changed files
with
515 additions
and
492 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
xcode-project-test: | ||
runs-on: macOS-latest | ||
strategy: | ||
matrix: | ||
flags: [ | ||
"-scheme AppAuth-iOS -destination 'platform=iOS Simulator,name=iPhone 11,OS=15.2' -sdk 'iphonesimulator15.2'", | ||
"-scheme AppAuth-macOS -destination 'platform=macOS,arch=x86_64' -sdk 'macosx12.1'", | ||
"-scheme AppAuth_macOS -destination 'platform=macOS,arch=x86_64' -sdk 'macosx12.1'", | ||
"-scheme AppAuth-tvOS -destination 'platform=tvOS Simulator,name=Apple TV,OS=15.2' -sdk 'appletvsimulator15.2'", | ||
"-scheme AppAuth_tvOS -destination 'platform=tvOS Simulator,name=Apple TV,OS=15.2' -sdk 'appletvsimulator15.2'", | ||
"-scheme AppAuthTV -destination 'platform=tvOS Simulator,name=Apple TV,OS=15.2' -sdk 'appletvsimulator15.2'" | ||
] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run unit test targets | ||
run: | | ||
xcodebuild test \ | ||
-project AppAuth.xcodeproj \ | ||
${{ matrix.flags }} | ||
pod-lib-lint: | ||
runs-on: macOS-latest | ||
strategy: | ||
matrix: | ||
flags: [ | ||
'', | ||
'--use-libraries', | ||
'--use-static-frameworks' | ||
] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Update Bundler | ||
run: bundle update --bundler | ||
- name: Install Ruby gems with Bundler | ||
run: bundle install | ||
- name: Lint podspec using local source | ||
run: pod lib lint --verbose ${{ matrix.flags }} | ||
|
||
spm-build-test: | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build unit test target | ||
run: swift build | ||
- name: Run unit test target | ||
run: swift test --enable-code-coverage | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v2 |
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
Oops, something went wrong.