Skip to content

Commit

Permalink
Remove instrumented tests (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
sindrenm authored Apr 18, 2024
2 parents e1d1d8e + 0f10d2d commit 04a5156
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 59 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,27 +77,3 @@ jobs:
uses: gradle/gradle-build-action@v3
with:
arguments: testDebugUnitTest

android-tests:
if: github.event.pull_request.draft == false
name: Android Tests
runs-on: macos-latest
timeout-minutes: 30

steps:
- name: Check out repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

- name: Set up Java environment
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17

- name: Set up Android environment
uses: android-actions/setup-android@v3

- name: Run Android tests (Pixel 7 API 33)
uses: gradle/gradle-build-action@v3
with:
arguments: pixel7Api33DebugAndroidTest -Pandroid.testoptions.manageddevices.emulator.gpu=swiftshader_indirect
14 changes: 0 additions & 14 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,9 @@ android {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}

testOptions {
managedDevices {
devices {
maybeCreate<ManagedVirtualDevice>("pixel7Api33").apply {
device = "Pixel 7"
apiLevel = 33
systemImageSource = "google"
}
}
}
}
}

dependencies {
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
androidTestImplementation(platform(libs.androidx.compose.bom))
coreLibraryDesugaring(libs.android.desugarJdkLibs)
debugImplementation(libs.androidx.compose.ui.test.manifest)
debugImplementation(libs.androidx.compose.ui.tooling)
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ androidx-compose-material-icons-extended = { module = "androidx.compose.material
androidx-compose-material3 = { module = "androidx.compose.material3:material3" }
androidx-compose-runtime = { module = "androidx.compose.runtime:runtime" }
androidx-compose-ui = { module = "androidx.compose.ui:ui" }
androidx-compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4" }
androidx-compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest" }
androidx-compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
androidx-compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
Expand Down

0 comments on commit 04a5156

Please sign in to comment.