Skip to content

Commit 899b63f

Browse files
committed
[Bug Fix + Test] (config) Modify the file path value for combining testing coverage reports.
1 parent d815659 commit 899b63f

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/organize_all_testing_reports_with_different_test_type.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ jobs:
2929
with:
3030
name: new_project_testing_coverage_report_unit-test
3131
# path: .coverage-unit-test
32-
# path: .coverage-*
33-
path: ./
32+
path: .coverage-*
33+
# path: ./
3434

3535
- name: Download code coverage result file
3636
uses: actions/download-artifact@v3
3737
with:
3838
name: new_project_testing_coverage_report_integration-test
3939
# path: .coverage-integration-test
40-
# path: .coverage-*
41-
path: ./
40+
path: .coverage-*
41+
# path: ./
4242

4343
- name: Setup Python 3.10 in Ubuntu OS
4444
uses: actions/setup-python@v2
@@ -54,9 +54,12 @@ jobs:
5454
- name: List files and directories
5555
run: ls -la
5656

57+
- name: List files and directories
58+
run: ls -la .coverage-*
59+
5760
- name: Combine all code coverage result files
5861
# run: coverage combine .coverage-*
59-
run: coverage combine .coverage-unit-test .coverage-integration-test
62+
run: coverage combine .coverage-*/*
6063

6164
- name: Report testing coverage of project code
6265
run: coverage report -m

0 commit comments

Comments
 (0)