diff --git a/.github/workflows/android-pull-request-ci.yml b/.github/workflows/android-pull-request-ci.yml index a6b1bf567..d012d14ae 100644 --- a/.github/workflows/android-pull-request-ci.yml +++ b/.github/workflows/android-pull-request-ci.yml @@ -60,15 +60,18 @@ jobs: - name: Lint Check run: ./gradlew ktlintCheck + - name: Upload Event File + uses: actions/upload-artifact@v3 + with: + name: Event File + path: ${{ github.event_path }} + - name: Run unit tests - env: - LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }} - run: | - echo "$LOCAL_PROPERTIES" > local.properties - ./gradlew testDebugUnitTest --stacktrace + run: ./gradlew testDebugUnitTest --stacktrace - - name: Publish Test Results + - name: Upload Test Results if: always() - uses: EnricoMi/publish-unit-test-result-action@v2 + uses: actions/upload-artifact@v3 with: - files: "**/test-results/**/*.xml" + name: Test Results + path: "**/test-results/**/*.xml" diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 000000000..036118719 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/android/app/src/test/java/com/woowacourse/friendogly/ExampleUnitTest.kt b/android/app/src/test/java/com/woowacourse/friendogly/ExampleUnitTest.kt index d5cdaef0f..8c51bbd5c 100644 --- a/android/app/src/test/java/com/woowacourse/friendogly/ExampleUnitTest.kt +++ b/android/app/src/test/java/com/woowacourse/friendogly/ExampleUnitTest.kt @@ -18,4 +18,9 @@ class ExampleUnitTest { fun addition_isCorrect2() { assertEquals(4, 2 + 2) } + + @Test + fun addition_isCorrect3() { + assertEquals(4, 2 + 2) + } }