Skip to content

Commit

Permalink
add visionOS targeted unit test to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sojingle committed Nov 19, 2024
1 parent a544389 commit ac30138
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
xcode: 15.2
test-destination-os: latest
device: "Apple Watch Series 8 (41mm)"

- runs-on: macos-13
platform: visionOS
xcode: 15.2
test-destination-os: latest
device: "Apple Vision Pro"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -86,6 +92,13 @@ jobs:
-destination 'platform=watchOS Simulator,OS=${{ matrix.test-destination-os }},name=${{ matrix.device }}' \
test
;;
visionOS)
xcodebuild \
-scheme Amplitude-Swift-Package \
-sdk xrsimulator \
-destination 'platform=visionOS Simulator,OS=${{ matrix.test-destination-os }},name=${{ matrix.device }}' \
test
;;
esac
objc-example-test:
runs-on: macos-13
Expand Down

0 comments on commit ac30138

Please sign in to comment.