diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 82931bf..ea0a406 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -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 @@ -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 diff --git a/app/src/test/java/com/asemlab/samples/ExampleUnitTest.kt b/app/src/test/java/com/asemlab/samples/ExampleUnitTest.kt index d0f1dec..9bbd702 100644 --- a/app/src/test/java/com/asemlab/samples/ExampleUnitTest.kt +++ b/app/src/test/java/com/asemlab/samples/ExampleUnitTest.kt @@ -12,6 +12,6 @@ import org.junit.Assert.* class ExampleUnitTest { @Test fun addition_isCorrect() { - assertEquals(6, 2 + 2) + assertEquals(4, 2 + 2) } } \ No newline at end of file diff --git a/build_variants/build.gradle.kts b/build_variants/build.gradle.kts index ada9374..5bac216 100644 --- a/build_variants/build.gradle.kts +++ b/build_variants/build.gradle.kts @@ -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") } \ No newline at end of file