From 5960df179ba2b37b0a0db7da4d64039d891ff7b7 Mon Sep 17 00:00:00 2001 From: sstone Date: Thu, 16 May 2024 16:03:34 +0200 Subject: [PATCH] Disable mempool tests, do not use ios simulator in standalone mode 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). --- .github/workflows/release.yml | 2 +- .github/workflows/snapshot.yml | 2 +- .github/workflows/test.yml | 2 +- build.gradle.kts | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 575615886..7e5a5f755 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 4b50447bc..e6494b89f 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d9462a75c..ca1c730f1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/build.gradle.kts b/build.gradle.kts index 9cc747a8c..7f32bc25e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -330,6 +330,9 @@ tasks.withType { } } +// exclude mempool tests +tasks.withType { filter.excludeTestsMatching("*MempoolSpace*")} + // Those tests use TLS sockets which are not supported on Linux and MacOS tasks .filterIsInstance()