Skip to content

Commit

Permalink
fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar Otasevic committed Sep 6, 2024
1 parent 9bcad10 commit 1732172
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,23 @@ on:
branches: [ "main" ]

jobs:
build:
test_on_simulators:
strategy:
matrix:
xcode-version: ['15', '16.0-beta']
platform: [macOS, tvOS, watchOS, visionOS] # iOS has problems in 16 beta
platform: [iOS, tvOS, watchOS, visionOS]

runs-on: macos-latest

steps:
- uses: actions/checkout@v4

- name: xcodebuild Test ${{ matrix.platform }}
run: xcodebuild test -scheme ViewInspection -destination 'platform=${{ matrix.platform }}'

test_on_macos:
strategy:
matrix:
xcode-version: ['latest-stable', 'latest-beta']

runs-on: macos-latest

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

- name: Swift Test ${{ matrix.platform }}
- name: Swift Test macOS
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' }}

0 comments on commit 1732172

Please sign in to comment.