From dfc922152925367bfe0e049f07db7fb3a379281e Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Tue, 18 Jun 2024 01:04:31 +0200 Subject: [PATCH] Also upload unit test results in case of errors. --- .github/workflows/UnitTesting.yml | 4 ++++ dist/requirements.txt | 2 +- tests/requirements.txt | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/UnitTesting.yml b/.github/workflows/UnitTesting.yml index 8228b9b..887519f 100644 --- a/.github/workflows/UnitTesting.yml +++ b/.github/workflows/UnitTesting.yml @@ -328,20 +328,24 @@ jobs: - name: Convert coverage to XML format (Cobertura) if: inputs.coverage_xml_artifact != '' + continue-on-error: true run: coverage xml --data-file=.coverage - name: Convert coverage to JSON format if: inputs.coverage_json_artifact != '' + continue-on-error: true run: coverage json --data-file=.coverage - name: Convert coverage to HTML format if: inputs.coverage_html_artifact != '' + continue-on-error: true run: | coverage html --data-file=.coverage -d ${{ steps.getVariables.outputs.coverage_report_html_directory }} rm ${{ steps.getVariables.outputs.coverage_report_html_directory }}/.gitignore - name: 📤 Upload 'TestReportSummary.xml' artifact if: inputs.unittest_xml_artifact != '' + continue-on-error: true uses: actions/upload-artifact@v4 with: name: ${{ inputs.unittest_xml_artifact }}-${{ matrix.system }}-${{ matrix.runtime }}-${{ matrix.python }} diff --git a/dist/requirements.txt b/dist/requirements.txt index 5be2dd0..71950fc 100644 --- a/dist/requirements.txt +++ b/dist/requirements.txt @@ -1,2 +1,2 @@ wheel ~= 0.43 -twine ~= 5.0 +twine ~= 5.1 diff --git a/tests/requirements.txt b/tests/requirements.txt index d7bdbde..4928937 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -9,5 +9,5 @@ pytest-cov ~= 5.0 # Static Type Checking mypy ~= 1.10 -typing_extensions ~= 4.11 +typing_extensions ~= 4.12 lxml ~= 5.1