Skip to content

Commit

Permalink
Disable mempool tests, do not use ios simulator in standalone mode
Browse files Browse the repository at this point in the history
Github CI tests are currently failing because we cannot start the simulator in standalone mode, which is needed for mempool.space tests (and only those tests).
  • Loading branch information
sstone committed May 16, 2024
1 parent c0238ba commit 5960df1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 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=standalone check
run: ./gradlew -PiosSimulatorMode=not_standalone 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=standalone check
run: ./gradlew -PiosSimulatorMode=not_standalone 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=standalone -x jvmTest
run: ./gradlew build -PiosSimulatorMode=not_standalone -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: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,9 @@ 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 5960df1

Please sign in to comment.