From 95502e2ca76d3eae0ea6633140bea1be286869de Mon Sep 17 00:00:00 2001 From: Mikkel Schmidt Date: Tue, 2 Jan 2024 06:19:26 +0100 Subject: [PATCH] Github: fix bugs and reporting in config test --- .github/workflows/ConfiguratorTests.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ConfiguratorTests.yml b/.github/workflows/ConfiguratorTests.yml index 2122ed6e..6c1ab2f8 100644 --- a/.github/workflows/ConfiguratorTests.yml +++ b/.github/workflows/ConfiguratorTests.yml @@ -1,6 +1,6 @@ name: "Testing: configuration" env: - RATOS_CONFIGURATION_PATH=: ${{ github.workspace }}/ratos-configuration + RATOS_CONFIGURATION_PATH: ${{ github.workspace }}/ratos-configuration KLIPPER_CONFIG_PATH: ${{ github.workspace }}/config RATOS_SCRIPT_DIR: ${{ github.workspace }}/ratos-configurator/src/scripts KLIPPER_DIR: ${{ github.workspace }}/klipper @@ -72,4 +72,12 @@ jobs: - name: Run configuration tests working-directory: ratos-configurator/src - run: pnpm run test:ci:config --outputFile=./report.json + run: pnpm run test:ci:config --outputFile=./report.xml + + - name: Test Report + uses: dorny/test-reporter@v1 + if: success() || failure() # run this step even if previous step failed + with: + name: JEST Tests # Name of the check run which will be created + path: report.xml # Path to test results + reporter: jest-junit # Format of test results