From b3f1b1a8e14023107ad3f2e93a2136357f0eaa6b Mon Sep 17 00:00:00 2001 From: gazorpazorpius Date: Mon, 30 Sep 2024 19:05:25 +0100 Subject: [PATCH 1/2] tests: break single test --- src/test/kotlin/MainKtParametrizedTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/MainKtParametrizedTest.kt b/src/test/kotlin/MainKtParametrizedTest.kt index e28c50f..bb0d9b1 100644 --- a/src/test/kotlin/MainKtParametrizedTest.kt +++ b/src/test/kotlin/MainKtParametrizedTest.kt @@ -52,7 +52,7 @@ class MainKtParametrizedTest { ), arrayOf( "paper", - "rock", + "scissors", "win", "when computer selects rock, and user selects paper, then user wins", ), From 877be8e12a14d7530d2681fcab85419ba190a419 Mon Sep 17 00:00:00 2001 From: gazorpazorpius Date: Sun, 13 Oct 2024 19:38:03 +0100 Subject: [PATCH 2/2] Roky 10: ci - show test results on PR --- .github/workflows/ci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7bec22f..a3af8c8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,3 +17,11 @@ jobs: - name: Build run: | ./gradlew clean build + - name: Publish Test Results + uses: EnricoMi/publish-unit-test-result-action/linux@v2 + if: always() + with: + files: | + test-results/**/*.xml + test-results/**/*.trx + test-results/**/*.json \ No newline at end of file