Skip to content

Commit

Permalink
🐛 Fix has-coverage checks for XML reports
Browse files Browse the repository at this point in the history
This is a follow-up for #75 and 411df72.
  • Loading branch information
webknjaz committed Sep 15, 2024
1 parent 91bccd6 commit b416b6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ runs:
echo ▷ Generating a coverage report only grouped by command...
shell: bash
- name: Generate a coverage report only grouped by command
if: steps.ansible-test-flags.outputs.coverage-arg != ''
if: steps.ansible-test-command.outputs.has-coverage == 'true'
run: >-
set -x
;
Expand All @@ -667,7 +667,7 @@ runs:
working-directory: ${{ steps.collection-metadata.outputs.checkout-path }}

- name: Log the next step action
if: steps.ansible-test-flags.outputs.coverage-arg != ''
if: steps.ansible-test-command.outputs.has-coverage == 'true'
run: >-
echo ▷ Sending the coverage data over to
https://codecov.io/gh/${{ github.repository }}...
Expand Down

0 comments on commit b416b6e

Please sign in to comment.