forked from ResearchKit/ResearchKit
-
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.
ci: Add code integration testing to repo (ResearchKit#1569)
- Loading branch information
Showing
2 changed files
with
29 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: [ 'main', 'stable' ] | ||
pull_request: | ||
branches: [ 'main', 'stable' ] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
runs-on: macos-14 | ||
strategy: | ||
matrix: | ||
destination: ['platform=iOS\ Simulator,OS=17.4,name=iPhone\ 15\ Pro'] | ||
scheme: ['ResearchKit'] | ||
name: ${{ matrix.scheme }} Unit Tests | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set Xcode Version | ||
run: sudo xcode-select -s /Applications/Xcode_15.3.app | ||
- name: Test | ||
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -verbose -workspace RKWorkspace.xcworkspace -scheme ${{ matrix.scheme }} -destination ${{ matrix.destination }} build test | xcpretty |
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