Only annotate when publishing the test results

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-01-06 16:10:34 +00:00 committed by Pedro Algarvio
parent afd6e0fdc5
commit 97a3614cc4
2 changed files with 4 additions and 0 deletions

View file

@ -284,6 +284,7 @@ jobs:
# with:
# check_name: Test Results(${{ inputs.distro-slug }} ${{ matrix.tests-chunk }})
# report_paths: 'artifacts/xml-unittests-output/*.xml'
# annotate_only: true
- name: Report Salt Code Coverage(${{ matrix.tests-chunk }})
if: always()
@ -391,6 +392,7 @@ jobs:
with:
check_name: Overall Test Results(${{ inputs.distro-slug }})
report_paths: 'artifacts/xml-unittests-output/*.xml'
annotate_only: true
- name: Set Exit Status
if: always()

View file

@ -278,6 +278,7 @@ jobs:
# with:
# check_name: Test Results(${{ inputs.distro-slug }} ${{ matrix.tests-chunk }})
# report_paths: 'artifacts/xml-unittests-output/*.xml'
# annotate_only: true
- name: Report Salt Code Coverage(${{ matrix.tests-chunk }})
if: always() && steps.download-artifacts-from-vm.outcome == 'success'
@ -385,6 +386,7 @@ jobs:
with:
check_name: Overall Test Results(${{ inputs.distro-slug }})
report_paths: 'artifacts/xml-unittests-output/*.xml'
annotate_only: true
- name: Set Exit Status
if: always()