diff --git a/.github/workflows/ApplicationTesting.yml b/.github/workflows/ApplicationTesting.yml index f2f5b702..5196901c 100644 --- a/.github/workflows/ApplicationTesting.yml +++ b/.github/workflows/ApplicationTesting.yml @@ -258,6 +258,7 @@ jobs: uses: pyTooling/upload-artifact@v4 with: name: ${{ inputs.apptest_xml_artifact }}-${{ matrix.system }}-${{ matrix.runtime }}-${{ matrix.python }} - path: report/unit/TestReportSummary.xml + working-directory: report/unit + path: TestReportSummary.xml if-no-files-found: error retention-days: 1 diff --git a/.github/workflows/BuildTheDocs.yml b/.github/workflows/BuildTheDocs.yml index 3c635d84..330cd3c9 100644 --- a/.github/workflows/BuildTheDocs.yml +++ b/.github/workflows/BuildTheDocs.yml @@ -53,7 +53,8 @@ jobs: uses: pyTooling/upload-artifact@v4 with: name: ${{ inputs.artifact }} - path: doc/_build/html + working-directory: doc/_build/html + path: '*' retention-days: 1 - name: '📓 Publish site to GitHub Pages' diff --git a/.github/workflows/CoverageCollection.yml b/.github/workflows/CoverageCollection.yml index e5df5dfe..3bdf2725 100644 --- a/.github/workflows/CoverageCollection.yml +++ b/.github/workflows/CoverageCollection.yml @@ -166,7 +166,8 @@ jobs: uses: pyTooling/upload-artifact@v4 with: name: ${{ inputs.artifact }} - path: ${{ steps.getVariables.outputs.coverage_report_html_directory }} + working-directory: ${{ steps.getVariables.outputs.coverage_report_html_directory }} + path: '*' if-no-files-found: error retention-days: 1 diff --git a/.github/workflows/Package.yml b/.github/workflows/Package.yml index dc851a5c..d16e9f78 100644 --- a/.github/workflows/Package.yml +++ b/.github/workflows/Package.yml @@ -109,6 +109,7 @@ jobs: uses: pyTooling/upload-artifact@v4 with: name: ${{ inputs.artifact }} - path: dist/ + working-directory: dist + path: '*' if-no-files-found: error retention-days: 1 diff --git a/.github/workflows/PublishCoverageResults.yml b/.github/workflows/PublishCoverageResults.yml index 8a01fc1f..03b0cc30 100644 --- a/.github/workflows/PublishCoverageResults.yml +++ b/.github/workflows/PublishCoverageResults.yml @@ -29,6 +29,10 @@ on: required: false default: '24.04' type: string + coverage_artifacts_pattern: + required: false + default: '*-CodeCoverage-*' + type: string coverage_config: description: 'Path to the .coveragerc file. Use pyproject.toml by default.' required: false @@ -75,8 +79,13 @@ jobs: - name: Download Artifacts uses: pyTooling/download-artifact@v4 with: + pattern: ${{ inputs.coverage_artifacts_pattern }} path: artifacts + - name: 🔎 Inspect extracted artifact (tarball) + run: | + tree -psh artifacts + - name: 🔧 Install coverage and tomli run: | python -m pip install -U --disable-pip-version-check --break-system-packages coverage[toml] tomli @@ -206,7 +215,8 @@ jobs: uses: pyTooling/upload-artifact@v4 with: name: ${{ inputs.coverage_html_artifact }} - path: ${{ steps.getVariables.outputs.coverage_report_html_directory }} + working-directory: ${{ steps.getVariables.outputs.coverage_report_html_directory }} + path: '*' if-no-files-found: error retention-days: 1 diff --git a/.github/workflows/PublishOnPyPI.yml b/.github/workflows/PublishOnPyPI.yml index 49dee297..030cf312 100644 --- a/.github/workflows/PublishOnPyPI.yml +++ b/.github/workflows/PublishOnPyPI.yml @@ -60,7 +60,7 @@ jobs: uses: pyTooling/download-artifact@v4 with: name: ${{ inputs.artifact }} - path: dist/ + path: dist - name: 🐍 Setup Python ${{ inputs.python_version }} uses: actions/setup-python@v5 diff --git a/.github/workflows/PublishTestResults.yml b/.github/workflows/PublishTestResults.yml index dfdd1429..91fca353 100644 --- a/.github/workflows/PublishTestResults.yml +++ b/.github/workflows/PublishTestResults.yml @@ -30,6 +30,10 @@ on: required: false default: '24.04' type: string + unittest_artifacts_pattern: + required: false + default: '*-UnitTestReportSummary-*' + type: string merged_junit_artifact: description: 'Name of the merged JUnit Test Summary artifact.' required: false @@ -64,8 +68,13 @@ jobs: - name: Download Artifacts uses: pyTooling/download-artifact@v4 with: + pattern: ${{ inputs.unittest_artifacts_pattern }} path: artifacts + - name: 🔎 Inspect extracted artifact (tarball) + run: | + tree -psh artifacts + - name: 🔧 Install pyEDAA.Reports (JUunit Parser and Merger) run: | python -m pip install --disable-pip-version-check --break-system-packages -U pyEDAA.Reports diff --git a/.github/workflows/SphinxDocumentation.yml b/.github/workflows/SphinxDocumentation.yml index 37fe9914..8a6e7308 100644 --- a/.github/workflows/SphinxDocumentation.yml +++ b/.github/workflows/SphinxDocumentation.yml @@ -127,7 +127,8 @@ jobs: uses: pyTooling/upload-artifact@v4 with: name: ${{ inputs.html_artifact }} - path: ${{ inputs.doc_directory }}/_build/html + working-directory: ${{ inputs.doc_directory }}/_build/html + path: '*' if-no-files-found: error retention-days: 1 @@ -185,6 +186,7 @@ jobs: uses: pyTooling/upload-artifact@v4 with: name: ${{ inputs.latex_artifact }} - path: ${{ inputs.doc_directory }}/_build/latex + working-directory: ${{ inputs.doc_directory }}/_build/latex + path: '*' if-no-files-found: error retention-days: 1 diff --git a/.github/workflows/StaticTypeCheck.yml b/.github/workflows/StaticTypeCheck.yml index f750a111..7554a10d 100644 --- a/.github/workflows/StaticTypeCheck.yml +++ b/.github/workflows/StaticTypeCheck.yml @@ -92,7 +92,8 @@ jobs: uses: pyTooling/upload-artifact@v4 with: name: ${{ inputs.html_artifact }} - path: ${{ inputs.html_report }} + working-directory: ${{ inputs.html_report }} + path: '*' if-no-files-found: error retention-days: 1 diff --git a/.github/workflows/UnitTesting.yml b/.github/workflows/UnitTesting.yml index 4b32c392..7b32f23e 100644 --- a/.github/workflows/UnitTesting.yml +++ b/.github/workflows/UnitTesting.yml @@ -445,7 +445,8 @@ jobs: uses: pyTooling/upload-artifact@v4 with: name: ${{ inputs.unittest_xml_artifact }}-${{ matrix.system }}-${{ matrix.runtime }}-${{ matrix.python }} - path: report/unit/TestReportSummary.xml + working-directory: report/unit + path: TestReportSummary.xml if-no-files-found: error retention-days: 1 @@ -496,6 +497,7 @@ jobs: uses: pyTooling/upload-artifact@v4 with: name: ${{ inputs.coverage_html_artifact }}-${{ matrix.system }}-${{ matrix.runtime }}-${{ matrix.python }} - path: ${{ steps.getVariables.outputs.coverage_report_html_directory }} + working-directory: ${{ steps.getVariables.outputs.coverage_report_html_directory }} + path: '*' if-no-files-found: error retention-days: 1