Skip to content

Commit

Permalink
Specify device for older iOS simulators
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachNagengast committed Dec 20, 2024
1 parent 59ef54f commit f2d3c22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/development-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ jobs:
include:
- os: macos-13-xlarge
ios-version: "16.1"
ios-device: "iPhone 14"
- os: macos-14
ios-version: "17.0.1"
ios-device: "iPhone 15"
uses: ./.github/workflows/unit-tests.yml
with:
ios-version: ${{ matrix.ios-version }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
ios-version:
required: true
type: string
ios-device:
required: true
type: string
macos-runner:
required: true
type: string
Expand All @@ -27,7 +30,7 @@ jobs:
name: "iOS",
condition: true,
clean-destination: "generic/platform=iOS",
test-destination: "platform=iOS Simulator,OS=${{ inputs.ios-version }},name=iPhone 16",
test-destination: "platform=iOS Simulator,OS=${{ inputs.ios-version }},name=${{ inputs.ios-device }}",
}
- {
name: "watchOS",
Expand Down

0 comments on commit f2d3c22

Please sign in to comment.