File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -55,20 +55,15 @@ jobs:
5555 - name : Combine all testing code coverage result files with one specific test type
5656 if : ${{ inputs.test_type == 'unit-test' || inputs.test_type == 'integration-test' }}
5757 run : |
58- pwd
59- ls -la
6058 coverage combine --data-file=.coverage.${{ inputs.test_type }} .coverage.${{ inputs.test_type }}.*
59+ coverage report -m --data-file=.coverage.${{ inputs.test_type }}
6160
6261 - name : Combine all testing code coverage result files with all test types
6362 if : ${{ inputs.test_type == 'all-test' }}
6463 run : coverage combine --data-file=.coverage.${{ inputs.test_type }} .coverage.*
6564
6665 - name : Report testing coverage of project code
67- run : |
68- pwd
69- ls -la
70- ls -la ./test_gh_workflow
71- coverage report -m --data-file=.coverage.${{ inputs.test_type }}
66+ run : coverage report -m --data-file=.coverage.${{ inputs.test_type }}
7267
7368 - name : General testing coverage report as XML format with ${{ inputs.test_type }}
7469 run : coverage xml --data-file=.coverage.${{ inputs.test_type }} -o coverage_${{ inputs.test_type }}.xml
You can’t perform that action at this time.
0 commit comments