From 15258e7db6939e083cc9b2b75fb9ea6a1dc879b8 Mon Sep 17 00:00:00 2001 From: Matej Drobnic Date: Tue, 11 Apr 2023 09:23:13 +0200 Subject: [PATCH] Revert "ci: run emulator tests" These tests do not work well on linux images that we are using (see https://github.com/ReactiveCircus/android-emulator-runner/issues/46) This reverts commit df473cd23d3af8cd1df36c4aadc83f749241c23d. --- .github/workflows/publish.yaml | 7 +------ .github/workflows/pull_request.yaml | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f6452aec..04a1311c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -41,16 +41,11 @@ jobs: - name: Compile library run: "./gradlew --parallel assemble" - name: Compile Unit Tests - run: "./gradlew --parallel jvmTestClasses compileDebugUnitTestKotlinAndroid compileReleaseUnitTestKotlinAndroid assembleAndroidTest" + run: "./gradlew --parallel jvmTestClasses compileDebugUnitTestKotlinAndroid compileReleaseUnitTestKotlinAndroid" - name: Lint run: "./gradlew --continue --parallel buildSrc:detekt detektMetadataMain detektJvmMain detektAndroidDebug detektAndroidRelease detektJvmTest detektMain detektTest lint" - name: Run Unit Tests run: "./gradlew test jvmTest" - - name: Run Emulator Tests - uses: reactivecircus/android-emulator-runner@v2 - with: - api-level: 29 - script: ./gradlew connectedCheck - name: Generate Changelog id: changelog uses: inovait/actions-common/changelog-since-last-build@21a4069c8686686b5d0a1429f4d1f7ebf0d59f1a diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index ff74bc94..84b5bdaf 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -24,16 +24,11 @@ jobs: - name: Compile library run: "./gradlew --parallel assemble" - name: Compile Unit Tests - run: "./gradlew --parallel jvmTestClasses compileDebugUnitTestKotlinAndroid compileReleaseUnitTestKotlinAndroid assembleAndroidTest" + run: "./gradlew --parallel jvmTestClasses compileDebugUnitTestKotlinAndroid compileReleaseUnitTestKotlinAndroid" - name: Lint run: "./gradlew --continue --parallel buildSrc:detekt detektMetadataMain detektJvmMain detektAndroidDebug detektAndroidRelease detektJvmTest lint" - name: Run Unit Tests run: "./gradlew test jvmTest" - - name: Run Emulator Tests - uses: reactivecircus/android-emulator-runner@v2 - with: - api-level: 29 - script: ./gradlew connectedCheck - name: Publish Test Results uses: EnricoMi/publish-unit-test-result-action/composite@v2 if: always()