From 7fc550f4dd991428553ee3a491d3cb0847990492 Mon Sep 17 00:00:00 2001 From: Sam <61994039+fourthDimensional@users.noreply.github.com> Date: Sat, 31 May 2025 20:17:31 -0500 Subject: [PATCH] Update test results upload action to use dorny/test-reporter and specify artifact details --- .gitea/workflows/run_tests.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/run_tests.yml b/.gitea/workflows/run_tests.yml index 8079b55..3dbd95c 100644 --- a/.gitea/workflows/run_tests.yml +++ b/.gitea/workflows/run_tests.yml @@ -32,8 +32,9 @@ jobs: path: pytest-results.xml retention-days: 5 - - uses: actions/upload-artifact@v4 # upload test results - if: ${{ !cancelled() }} # run this step even if previous step failed + - uses: dorny/test-reporter@v2 with: - name: pytest-results - path: pytest-results.xml \ No newline at end of file + artifact: pytest-results # artifact name + name: Pytest Tests # Name of the check run which will be created + path: '*.xml' # Path to test results (inside artifact .zip) + reporter: jest-junit # Format of test results \ No newline at end of file