Skip to content

Commit 95315cc

Browse files
committed
Only treat tests/reports/coverage*.xml as legit
1 parent 960842a commit 95315cc

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

action.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,7 @@ runs:
431431
steps.collection-metadata.outputs.checkout-path
432432
}}/tests/output/reports/coverage=${{
433433
inputs.testing-type
434-
}}=*.xml,
435-
${{
436-
steps.collection-metadata.outputs.checkout-path
437-
}}/tests/output/coverage/*
434+
}}=*.xml
438435
flags: ${{ inputs.testing-type }}
439436
440437
- name: Produce markdown test summary from JUnit
@@ -465,11 +462,6 @@ runs:
465462
}}=*.xml"
466463
&& echo "::set-output name=present::true"
467464
;
468-
compgen -G "${{
469-
steps.collection-metadata.outputs.checkout-path
470-
}}/tests/output/coverage/*"
471-
&& echo "::set-output name=present::true"
472-
;
473465
exit 0
474466
shell: bash
475467
- name: Produce markdown test summary from Cobertura XML
@@ -482,10 +474,7 @@ runs:
482474
steps.collection-metadata.outputs.checkout-path
483475
}}/tests/output/reports/coverage=${{
484476
inputs.testing-type
485-
}}=python-*.xml,
486-
${{
487-
steps.collection-metadata.outputs.checkout-path
488-
}}/tests/output/coverage/*
477+
}}=python-*.xml
489478
format: markdown
490479
output: both
491480
# Ref: https://github.com/irongut/CodeCoverageSummary/issues/66

0 commit comments

Comments
 (0)