From b5a3d6348f4e952da6f0bed84e614edbfa8994aa Mon Sep 17 00:00:00 2001 From: Sam <61994039+fourthDimensional@users.noreply.github.com> Date: Sat, 31 May 2025 20:15:46 -0500 Subject: [PATCH] Add conditional upload step for test results in workflow --- .gitea/workflows/run_tests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/run_tests.yml b/.gitea/workflows/run_tests.yml index dd0a604..8079b55 100644 --- a/.gitea/workflows/run_tests.yml +++ b/.gitea/workflows/run_tests.yml @@ -30,4 +30,10 @@ jobs: with: name: pytest-results path: pytest-results.xml - retention-days: 5 \ No newline at end of file + retention-days: 5 + + - uses: actions/upload-artifact@v4 # upload test results + if: ${{ !cancelled() }} # run this step even if previous step failed + with: + name: pytest-results + path: pytest-results.xml \ No newline at end of file