From b8e6f9c925a148bef5ed1e1e1a5bbcecba394c80 Mon Sep 17 00:00:00 2001 From: JunJangE Date: Fri, 12 Jul 2024 01:09:58 +0900 Subject: [PATCH 1/3] =?UTF-8?q?test:=20=EA=B8=B0=EB=B3=B8=20=ED=85=8C?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EC=BD=94=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/java/com/woowacourse/friendogly/ExampleUnitTest.kt | 5 +++++ 1 file changed, 5 insertions(+) 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) + } } From 48eae9c25a09ca52790b51b939a6cd1016e59a93 Mon Sep 17 00:00:00 2001 From: JunJangE Date: Fri, 12 Jul 2024 01:17:41 +0900 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20ci=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/android-pull-request-ci.yml | 22 ++++++++++------- .idea/workspace.xml | 24 +++++++++++++++++++ 2 files changed, 38 insertions(+), 8 deletions(-) create mode 100644 .idea/workspace.xml diff --git a/.github/workflows/android-pull-request-ci.yml b/.github/workflows/android-pull-request-ci.yml index a6b1bf567..c245209d1 100644 --- a/.github/workflows/android-pull-request-ci.yml +++ b/.github/workflows/android-pull-request-ci.yml @@ -60,15 +60,21 @@ jobs: - name: Lint Check run: ./gradlew ktlintCheck + - name: Run detekt + run: ./gradlew detekt + + - 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 From 7a2a62b247cf86d1dc4a744254d16f91e1425139 Mon Sep 17 00:00:00 2001 From: JunJangE Date: Fri, 12 Jul 2024 01:20:33 +0900 Subject: [PATCH 3/3] =?UTF-8?q?chore:=20=EB=B6=88=ED=95=84=EC=9A=94?= =?UTF-8?q?=ED=95=9C=EA=B1=B0=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/android-pull-request-ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/android-pull-request-ci.yml b/.github/workflows/android-pull-request-ci.yml index c245209d1..d012d14ae 100644 --- a/.github/workflows/android-pull-request-ci.yml +++ b/.github/workflows/android-pull-request-ci.yml @@ -60,9 +60,6 @@ jobs: - name: Lint Check run: ./gradlew ktlintCheck - - name: Run detekt - run: ./gradlew detekt - - name: Upload Event File uses: actions/upload-artifact@v3 with: