Skip to content

Commit

Permalink
Only treat tests/reports/coverage*.xml as legit
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Oct 17, 2022
1 parent 960842a commit 95315cc
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -431,10 +431,7 @@ runs:
steps.collection-metadata.outputs.checkout-path
}}/tests/output/reports/coverage=${{
inputs.testing-type
}}=*.xml,
${{
steps.collection-metadata.outputs.checkout-path
}}/tests/output/coverage/*
}}=*.xml
flags: ${{ inputs.testing-type }}
- name: Produce markdown test summary from JUnit
Expand Down Expand Up @@ -465,11 +462,6 @@ runs:
}}=*.xml"
&& echo "::set-output name=present::true"
;
compgen -G "${{
steps.collection-metadata.outputs.checkout-path
}}/tests/output/coverage/*"
&& echo "::set-output name=present::true"
;
exit 0
shell: bash
- name: Produce markdown test summary from Cobertura XML
Expand All @@ -482,10 +474,7 @@ runs:
steps.collection-metadata.outputs.checkout-path
}}/tests/output/reports/coverage=${{
inputs.testing-type
}}=python-*.xml,
${{
steps.collection-metadata.outputs.checkout-path
}}/tests/output/coverage/*
}}=python-*.xml
format: markdown
output: both
# Ref: https://github.com/irongut/CodeCoverageSummary/issues/66
Expand Down

0 comments on commit 95315cc

Please sign in to comment.