Skip to content

Commit

Permalink
Uodate build_and_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AsemLab committed Aug 7, 2024
1 parent a1c67ec commit 2934838
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: chmod +x ./gradlew

- name: Run Debug Tests
run: ./gradlew testDebugUnitTest
run: ./gradlew :app:testDebugUnitTest

build_job:
name: Building the APK
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
run: chmod +x ./gradlew

- name: Assemble Debug
run: ./gradlew assembleDebug
run: ./gradlew :app:assembleDebug

- name: Upload APK
uses: actions/upload-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion app/src/test/java/com/asemlab/samples/ExampleUnitTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ import org.junit.Assert.*
class ExampleUnitTest {
@Test
fun addition_isCorrect() {
assertEquals(6, 2 + 2)
assertEquals(4, 2 + 2)
}
}
4 changes: 2 additions & 2 deletions build_variants/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ dependencies {
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)

"minApi24Implementation"("com.github.AsemLab:toaster:0.3.0")
"demoImplementation"("com.github.AsemLab:toaster:0.3.0")
"minApi24Implementation"("com.github.AsemLab:toaster:0.4.0")
"demoImplementation"("com.github.AsemLab:toaster:0.4.0")

}

0 comments on commit 2934838

Please sign in to comment.