mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Adjusting code coverage actions
This commit is contained in:
parent
e02ed441fd
commit
f1483714ea
7 changed files with 18 additions and 0 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
3
.github/workflows/nightly.yml
vendored
3
.github/workflows/nightly.yml
vendored
|
@ -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
|
||||
|
|
3
.github/workflows/scheduled.yml
vendored
3
.github/workflows/scheduled.yml
vendored
|
@ -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
|
||||
|
|
3
.github/workflows/templates/ci.yml.jinja
vendored
3
.github/workflows/templates/ci.yml.jinja
vendored
|
@ -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 %>
|
||||
|
|
2
.github/workflows/test-action-linux.yml
vendored
2
.github/workflows/test-action-linux.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/test-action-macos.yml
vendored
2
.github/workflows/test-action-macos.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/test-action-windows.yml
vendored
2
.github/workflows/test-action-windows.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue