From 824823d03e3ac6c4f100afc19b966cef80ecfb5a Mon Sep 17 00:00:00 2001 From: David Murphy Date: Mon, 30 Sep 2024 16:59:44 -0600 Subject: [PATCH] Adjusting code coverage actions --- .github/workflows/ci.yml | 3 +++ .github/workflows/nightly.yml | 3 +++ .github/workflows/scheduled.yml | 3 +++ .github/workflows/templates/ci.yml.jinja | 3 +++ .github/workflows/test-action-linux.yml | 2 ++ .github/workflows/test-action-macos.yml | 2 ++ .github/workflows/test-action-windows.yml | 2 ++ 7 files changed, 18 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb53cdc4eb6..42a6a8c05d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2082,6 +2082,7 @@ jobs: path: artifacts/coverage/html/salt retention-days: 7 if-no-files-found: error + include-hidden-files: true - name: Report Combined Code Coverage run: | @@ -2098,6 +2099,7 @@ jobs: path: artifacts/coverage/coverage.json retention-days: 7 if-no-files-found: error + include-hidden-files: true - name: Create Combined Code Coverage HTML Report run: | @@ -2110,6 +2112,7 @@ jobs: path: artifacts/coverage/html/full retention-days: 7 if-no-files-found: error + include-hidden-files: true set-pipeline-exit-status: # This step is just so we can make github require this step, to pass checks diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index a1acf7a06f9..693c86fcd1d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -2144,6 +2144,7 @@ jobs: path: artifacts/coverage/html/salt retention-days: 7 if-no-files-found: error + include-hidden-files: true - name: Report Combined Code Coverage run: | @@ -2160,6 +2161,7 @@ jobs: path: artifacts/coverage/coverage.json retention-days: 7 if-no-files-found: error + include-hidden-files: true - name: Create Combined Code Coverage HTML Report run: | @@ -2172,6 +2174,7 @@ jobs: path: artifacts/coverage/html/full retention-days: 7 if-no-files-found: error + include-hidden-files: true build-src-repo: name: Build Repository diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index 4c0efa22a56..82bfbf70cd4 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -2121,6 +2121,7 @@ jobs: path: artifacts/coverage/html/salt retention-days: 7 if-no-files-found: error + include-hidden-files: true - name: Report Combined Code Coverage run: | @@ -2137,6 +2138,7 @@ jobs: path: artifacts/coverage/coverage.json retention-days: 7 if-no-files-found: error + include-hidden-files: true - name: Create Combined Code Coverage HTML Report run: | @@ -2149,6 +2151,7 @@ jobs: path: artifacts/coverage/html/full retention-days: 7 if-no-files-found: error + include-hidden-files: true set-pipeline-exit-status: # This step is just so we can make github require this step, to pass checks diff --git a/.github/workflows/templates/ci.yml.jinja b/.github/workflows/templates/ci.yml.jinja index 073c03ae170..cf8a33415ce 100644 --- a/.github/workflows/templates/ci.yml.jinja +++ b/.github/workflows/templates/ci.yml.jinja @@ -425,6 +425,7 @@ path: artifacts/coverage/html/salt retention-days: 7 if-no-files-found: error + include-hidden-files: true - name: Report Combined Code Coverage run: | @@ -441,6 +442,7 @@ path: artifacts/coverage/coverage.json retention-days: 7 if-no-files-found: error + include-hidden-files: true - name: Create Combined Code Coverage HTML Report run: | @@ -453,6 +455,7 @@ path: artifacts/coverage/html/full retention-days: 7 if-no-files-found: error + include-hidden-files: true <%- endif %> <%- endblock jobs %> diff --git a/.github/workflows/test-action-linux.yml b/.github/workflows/test-action-linux.yml index cb3ee37c3b3..75f63402c87 100644 --- a/.github/workflows/test-action-linux.yml +++ b/.github/workflows/test-action-linux.yml @@ -298,6 +298,7 @@ jobs: name: testrun-junit-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-grp${{ matrix.test-group || '1' }}-${{ env.TIMESTAMP }} path: | artifacts/xml-unittests-output/ + include-hidden-files: true - name: Upload Test Run Log Artifacts if: always() && steps.download-artifacts-from-vm.outcome == 'success' @@ -306,6 +307,7 @@ jobs: name: testrun-log-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-grp${{ matrix.test-group || '1' }}-${{ env.TIMESTAMP }} path: | artifacts/logs + include-hidden-files: true report: name: Test Reports diff --git a/.github/workflows/test-action-macos.yml b/.github/workflows/test-action-macos.yml index 0e429f2fcae..a3211c4b18d 100644 --- a/.github/workflows/test-action-macos.yml +++ b/.github/workflows/test-action-macos.yml @@ -328,6 +328,7 @@ jobs: name: testrun-junit-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-${{ env.TIMESTAMP }} path: | artifacts/xml-unittests-output/ + include-hidden-files: true - name: Upload Test Run Log Artifacts if: always() && steps.download-artifacts-from-vm.outcome == 'success' @@ -336,6 +337,7 @@ jobs: name: testrun-log-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-${{ env.TIMESTAMP }} path: | artifacts/logs + include-hidden-files: true report: name: Test Reports diff --git a/.github/workflows/test-action-windows.yml b/.github/workflows/test-action-windows.yml index ac013a2869a..308d7f6cbd0 100644 --- a/.github/workflows/test-action-windows.yml +++ b/.github/workflows/test-action-windows.yml @@ -298,6 +298,7 @@ jobs: name: testrun-junit-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-grp${{ matrix.test-group || '1' }}-${{ env.TIMESTAMP }} path: | artifacts/xml-unittests-output/ + include-hidden-files: true - name: Upload Test Run Log Artifacts if: always() && steps.download-artifacts-from-vm.outcome == 'success' @@ -306,6 +307,7 @@ jobs: name: testrun-log-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-grp${{ matrix.test-group || '1' }}-${{ env.TIMESTAMP }} path: | artifacts/logs + include-hidden-files: true report: