From df4815f666ccacb015a035797224ec36891d219b Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Mon, 6 May 2024 07:04:41 +0200 Subject: [PATCH] Added pytest_cleanup variable. --- .github/workflows/PublishTestResults.yml | 7 ++++++- .github/workflows/_Checking_Pipeline.yml | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/PublishTestResults.yml b/.github/workflows/PublishTestResults.yml index 0ec5931..43269cc 100644 --- a/.github/workflows/PublishTestResults.yml +++ b/.github/workflows/PublishTestResults.yml @@ -30,6 +30,11 @@ on: required: false default: '' type: string + additional_merge_args: + description: 'Additional merging arguments.' + required: false + default: '--pytest "pytest.tests.unit"' + type: string jobs: PublishTestResults: @@ -58,7 +63,7 @@ jobs: - name: 🔁 Merge JUnit Unit Test Summaries run: | - pyedaa-reports merge-unittest -d --pytest "pytest.tests.unit;pytest.tests.platform;pytest.tests.benchmark;pytest.tests.performance" --junit "junit/*.xml" + pyedaa-reports merge-unittest ${{ inputs.additional_merge_args }} --junit "junit/*.xml" echo "cat Unittesting.xml" cat Unittesting.xml diff --git a/.github/workflows/_Checking_Pipeline.yml b/.github/workflows/_Checking_Pipeline.yml index 0edbc17..0d0c62d 100644 --- a/.github/workflows/_Checking_Pipeline.yml +++ b/.github/workflows/_Checking_Pipeline.yml @@ -88,6 +88,8 @@ jobs: needs: - UnitTesting - PlatformTesting + with: + additional_merge_args: '-d --pytest "pytest.tests.unit;pytest.tests.platform;pytest.tests.benchmark;pytest.tests.performance"' Package: uses: pyTooling/Actions/.github/workflows/Package.yml@r1