From 86aa9702e508d252e99220386917eb12e4212c3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szafraniuk?= Date: Tue, 28 Nov 2023 15:16:56 +0100 Subject: [PATCH] Pretty layout for tests results. (#3348) Adds `Tests results` section in `Checks` which layouts test results in eye-friendly manner. ![image](https://github.com/softwaremill/tapir/assets/22705075/847bc695-69d5-4e6b-b62a-7c57ab31a851) Based on: https://github.com/softwaremill/ox/pull/53 --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27d86014ad..0b11769bfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,6 +95,13 @@ jobs: - name: Test if: matrix.target-platform == 'JS' && matrix.scala-version == '3' run: sbt $SBT_JAVA_OPTS catsJS3/test circeJsonJS3/test clientCoreJS3/test clientTestsJS3/test coreJS3/test jsoniterScalaJS3/test openapiDocsJS3/test redocJS3/test serverCoreJS3/test sttpClientJS3/test testingJS3/test testsJS3/test uPickleJsonJS3/test zioJsonJS3/test + - name: Test Report + uses: dorny/test-reporter@v1 + if: success() || failure() # run regardless previous step succeeded or failed + with: + name: 'Tests results (${{ matrix.scala-version }}, ${{ matrix.target-platform }}, ${{ matrix.java }})' + path: '**/test-reports/TEST*.xml' + reporter: java-junit - name: Prepare release notes uses: release-drafter/release-drafter@v5 with: