Skip to content

Commit

Permalink
Adjusting code coverage actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dmurphy18 committed Sep 30, 2024
1 parent 75164c8 commit 824823d
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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: |
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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: |
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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: |
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/templates/ci.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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: |
Expand All @@ -453,6 +455,7 @@
path: artifacts/coverage/html/full
retention-days: 7
if-no-files-found: error
include-hidden-files: true
<%- endif %>

<%- endblock jobs %>
2 changes: 2 additions & 0 deletions .github/workflows/test-action-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-action-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-action-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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:
Expand Down

0 comments on commit 824823d

Please sign in to comment.