Skip to content

Commit

Permalink
Run tests on different OS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bamx23 committed May 9, 2024
1 parent a3c5059 commit 89b73c7
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,28 @@ jobs:
strategy:
fail-fast: false
matrix:
platform:
- iOS
- macOS
- watchOS
- tvOS
- mac-catalyst
- visionOS
include:
- platform: iOS
os-version: latest
- platform: iOS
os-version: 12.0
- platform: macOS
os-version: latest
- platform: macOS
os-version: 10.14
- platform: watchOS
os-version: latest
- platform: watchOS
os-version: 5.0
- platform: tvOS
os-version: latest
- platform: tvOS
os-version: 12.0
- platform: mac-catalyst
os-version: latest
- platform: mac-catalyst
os-version: 10.14
- platform: visionOS
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -31,8 +46,9 @@ jobs:
xcode-version: latest-stable

- name: Run Unit Tests
uses: bamx23/xcodebuild@vision-os
uses: bamx23/xcodebuild@os-version
with:
workspace: ".swiftpm/xcode/package.xcworkspace"
scheme: "KSCrash-Package"
platform: ${{ matrix.platform }}
os-version: ${{ matrix.os-version }}

0 comments on commit 89b73c7

Please sign in to comment.