Skip to content

Commit c6105c5

Browse files
committed
[Test] (config) Modify the running commands.
1 parent a0ebf9b commit c6105c5

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/organize_and_generate_test_cov_reports.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)