Skip to content

Commit

Permalink
added instrumentation test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakib committed Jan 14, 2024
1 parent 50d8959 commit 088e0cb
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
name: unit-test-report
path: app/build/reports/tests/testDebugUnitTest/


instrumentation-test:
needs: [unit-test]
runs-on: macos-latest
Expand All @@ -84,7 +83,6 @@ jobs:
- name: Upload test report
uses: actions/upload-artifact@v3
with:
name: unit-test-report
path: app/build/reports/androidTests/connected/debug

name: instrumentation-test-report
path: app/build/reports/androidTests/connected/debug/

1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
//id("org.sonarqube")
}

android {
Expand Down Expand Up @@ -67,4 +68,6 @@ dependencies {
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
debugImplementation("androidx.compose.ui:ui-tooling")
debugImplementation("androidx.compose.ui:ui-test-manifest")

//implementation("org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.0.1")
}
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
plugins {
id("com.android.application") version "8.1.4" apply false
id("org.jetbrains.kotlin.android") version "1.8.10" apply false
//id("org.sonarqube") version "4.4.1.3373"
}
15 changes: 15 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pluginManagement {
google()
mavenCentral()
gradlePluginPortal()

}
}
dependencyResolutionManagement {
Expand All @@ -12,6 +13,20 @@ dependencyResolutionManagement {
mavenCentral()
}
}
/*
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:4.4.1.3373")
}
}
apply(plugin = "org.sonarqube")
*/

rootProject.name = "TipCalculator"
include(":app")

0 comments on commit 088e0cb

Please sign in to comment.