Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar Otasevic committed Sep 6, 2024
1 parent 1dbf562 commit 970fa81
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
xcode-version: ['15', '16.1-beta']
platform: [iOS, macOS, tvOS, watchOS, visionOS]
platform: ['iOS Simulator', macOS, tvOS, watchOS, visionOS]

runs-on: macos-latest

Expand All @@ -24,6 +24,11 @@ jobs:
with:
xcode-version: ${{ matrix.xcode-version }}

- name: Test ${{ matrix.platform }}
- name: Swift Test ${{ matrix.platform }}
run: swift test
if: ${{ matrix.platform == 'macOS' }}


- name: xcodebuild Test ${{ matrix.platform }}
run: xcodebuild test -scheme ViewInspection -destination 'platform=${{ matrix.platform }}'
if: ${{ matrix.platform != 'macOS' || matrix.xcode-version == '15' }}
if: ${{ matrix.platform != 'macOS' }}

0 comments on commit 970fa81

Please sign in to comment.