Skip to content

Commit

Permalink
Revert "ci: run emulator tests"
Browse files Browse the repository at this point in the history
These tests do not work well on linux images that we are using (see ReactiveCircus/android-emulator-runner#46)

This reverts commit df473cd.
  • Loading branch information
matejdro committed Apr 11, 2023
1 parent df473cd commit 15258e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 15258e7

Please sign in to comment.