Skip to content

Commit

Permalink
Use iPhone 15 devices in simulator tests on Github CI
Browse files Browse the repository at this point in the history
iPhone 14 is still listed in github's macos runner documentation but does not seem to be available anymore.
  • Loading branch information
sstone committed May 16, 2024
1 parent 5960df1 commit b440ef6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
with:
java-version: 11
- name: Check
run: ./gradlew -PiosSimulatorMode=not_standalone check
run: ./gradlew -PiosSimulatorMode=standalone -PiosDevice="iPhone 15" check
- name: Publish Linux
if: matrix.os == 'ubuntu-latest'
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
with:
java-version: 11
- name: Check
run: ./gradlew -PiosSimulatorMode=not_standalone check
run: ./gradlew -PiosSimulatorMode=standalone -PiosDevice="iPhone 15" check
- name: Publish Linux to Maven Local
if: matrix.os == 'ubuntu-latest'
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
run: ./gradlew build -PintegrationTests=include
- name: Check without integration
if: matrix.os == 'macOS-latest'
run: ./gradlew build -PiosSimulatorMode=not_standalone -x jvmTest
run: ./gradlew build -PiosSimulatorMode=standalone -PiosDevice="iPhone 15" -x jvmTest

# Uncomment the lines below to store test results for debugging failed tests (useful for iOS)
# - name: Store test results
Expand Down
3 changes: 0 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,6 @@ tasks.withType<AbstractTestTask> {
}
}

// exclude mempool tests
tasks.withType<AbstractTestTask> { filter.excludeTestsMatching("*MempoolSpace*")}

// Those tests use TLS sockets which are not supported on Linux and MacOS
tasks
.filterIsInstance<KotlinNativeTest>()
Expand Down

0 comments on commit b440ef6

Please sign in to comment.