Added pytest_cleanup variable.

This commit is contained in:
Patrick Lehmann
2024-05-06 07:04:41 +02:00
parent 8b7a8009a6
commit df4815f666
2 changed files with 8 additions and 1 deletions

View File

@@ -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

View File

@@ -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