Skip to content

Commit

Permalink
- Trying ti fix UI tests in work flow πŸ“œ πŸ›  πŸ”¬
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahSphelele committed Jul 28, 2021
1 parent 727cfd2 commit 954a2b1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
path: app/build/reports/androidTests/connected/

package-debug-apk:
needs: [lint-build]
name: Generate debug apk
runs-on: ubuntu-latest
steps:
Expand Down
13 changes: 11 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,24 @@ afterEvaluate {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation "junit:junit:${Versions.junit}"
//noinspection GradleDependency
androidTestImplementation "androidx.test.espresso:espresso-core:${Versions.androidxEspresso}"
androidTestImplementation "androidx.test.espresso:espresso-contrib:${Versions.androidxEspresso}"
//noinspection GradleDependency
androidTestImplementation ("androidx.test.espresso:espresso-contrib:${Versions.androidxEspresso}") {
exclude group: 'org.checkerframework', module: 'checker'
}
//noinspection GradleDependency
androidTestImplementation "androidx.test.espresso:espresso-intents:${Versions.androidxEspresso}"
//noinspection GradleDependency
debugImplementation "androidx.fragment:fragment-testing:${Versions.fragmentTesting}"
androidTestImplementation "androidx.test:rules:${Versions.androidxTestRules}"
//androidTestImplementation "androidx.test:core:${Versions.androidxTestRules}"
androidTestImplementation "androidx.test:core-ktx:${Versions.androidxTestRules}"
androidTestImplementation "androidx.test.ext:junit-ktx:1.1.3"
androidTestImplementation "androidx.test.espresso:espresso-idling-resource:${Versions.androidxEspresso}"
//noinspection GradleDependency
androidTestImplementation ("androidx.test.espresso:espresso-idling-resource:${Versions.androidxEspresso}") {
exclude group: 'org.checkerframework', module: 'checker'
}
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.5.0-native-mt" //1.2.1
androidTestImplementation "androidx.arch.core:core-testing:2.1.0"
androidTestImplementation "com.google.truth:truth:1.1.3"
Expand Down
Binary file modified buildSrc/build/libs/buildSrc.jar
Binary file not shown.

0 comments on commit 954a2b1

Please sign in to comment.