@@ -69,26 +69,18 @@ jobs:
6969 debug_mode : true
7070
7171
72- unit -test_codecov :
72+ all -test_codecov :
7373# name: Organize and generate the testing report and upload it to Codecov
74- needs : run_unit-test
74+ needs : [ run_unit-test, run_integration-test]
7575 uses : ./.github/workflows/organize_and_generate_test_cov_reports.yaml
7676 with :
77- test_type : unit-test
78-
79-
80- integration-test_codecov :
81- # name: Organize and generate the testing report and upload it to Codecov
82- needs : run_integration-test
83- uses : ./.github/workflows/organize_and_generate_test_cov_reports.yaml
84- with :
85- test_type : integration-test
77+ test_type : all-test
8678
8779
8880 codecov_finish :
8981# name: Organize and generate the testing report and upload it to Codecov
9082# if: github.ref_name == 'release' || github.ref_name == 'master'
91- needs : [unit-test_codecov, integration -test_codecov]
83+ needs : [all -test_codecov]
9284 uses : ./.github/workflows/upload_test_cov_report.yaml
9385 secrets :
9486 codecov_token : ${{ secrets.CODECOV_TOKEN }}
10294 coveralls_finish :
10395# name: Organize and generate the testing report and upload it to Coveralls
10496# if: github.ref_name == 'release' || github.ref_name == 'master'
105- needs : [unit-test_codecov, integration -test_codecov]
97+ needs : [all -test_codecov]
10698 uses : ./.github/workflows/upload_test_cov_report.yaml
10799 secrets :
108100 coveralls_token : ${{ secrets.COVERALLS_TOKEN }}
@@ -113,7 +105,7 @@ jobs:
113105
114106 codacy_finish :
115107# name: Upload test report to Codacy to analyse and record code quality
116- needs : [unit-test_codecov, integration -test_codecov]
108+ needs : [all -test_codecov]
117109 uses : ./.github/workflows/upload_test_cov_report.yaml
118110 secrets :
119111 codacy_token : ${{ secrets.CODACY_PROJECT_TOKEN }}
@@ -136,7 +128,7 @@ jobs:
136128
137129 build_git-tag_and_create_github-release :
138130# name: Build git tag and GitHub release if it needs
139- needs : [coveralls_finish, codacy_finish]
131+ needs : [codecov_finish, coveralls_finish, codacy_finish]
140132 uses : ./.github/workflows/build_git-tag_and_create_github-release.yaml
141133 with :
142134 project_type : python-package
0 commit comments