-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
245 additions
and
224 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 |
---|---|---|
|
@@ -8,25 +8,21 @@ concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
unit-tests-ios: | ||
unit-tests: | ||
runs-on: blaze/macos-14 | ||
strategy: | ||
matrix: | ||
# also run for macos | ||
destination: ["platform=iOS Simulator,name=iPhone 15 Pro"] | ||
target: [macos, iOS] | ||
include: | ||
- target: iOS | ||
destination: '-destination "platform=iOS Simulator,name=iPhone 15 Pro"' | ||
- target: macos | ||
destination: '-destination "platform=macOS,name=Any Mac"' | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
- name: Run Tests | ||
run: |- | ||
xcodebuild test -scheme SwiftAudioEx -destination "${destination}" -enableCodeCoverage YES | ||
env: | ||
destination: ${{ matrix.destination }} | ||
unit-tests-macos: | ||
runs-on: blaze/macos-14 | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
- name: Run Tests | ||
run: |- | ||
swift test | ||
run: xcodebuild test -scheme SwiftAudioEx ${{ matrix.destination }} -enableCodeCoverage YES | ||
- name: Upload coverage to Codecov | ||
if: matrix.target == 'macos' | ||
uses: codecov/[email protected] |
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
Oops, something went wrong.