Fix unit tests and add CI jobs #5
Workflow file for this run
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
name: Run Unit Tests | |
on: | |
pull_request: | |
jobs: | |
spm-test: | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- iOS | |
- macOS | |
- watchOS | |
- tvOS | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Use Latest Stable Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Run Unit Tests | |
uses: mxcl/xcodebuild@v1 | |
with: | |
platform: ${{ matrix.platform }} |