File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ jobs:
135
135
needs : test
136
136
if : ${{ success() }} && ${{ github.event.issue.pull_request }}
137
137
env :
138
- COMPARE_BRANCH : develop
138
+ COMPARE_BRANCH : main
139
139
140
140
steps :
141
141
- name : " Checkout current branch"
@@ -152,9 +152,14 @@ jobs:
152
152
COV_BODY_INTRO="📌 Overall coverage:\n\n"
153
153
echo COV_BODY="$COV_BODY_INTRO No success to gather report. 😿" >> $GITHUB_ENV
154
154
155
+ # Prepare file paths to .coverage files
156
+ # Filenames taken from job.test last step with name - "Save coverage files"
157
+ FILE_UNITARY="cov-reports-unitary/.coverage"; [[ ! -f $FILE_UNITARY ]] && FILE_UNITARY=""
158
+ FILE_MODEL="cov-reports-model/.coverage"; [[ ! -f $FILE_MODEL ]] && FILE_MODEL=""
159
+
155
160
# Combine coverage files
156
161
pip install coverage
157
- coverage combine cov-reports-unitary/.coverage cov-reports-model/.coverage
162
+ coverage combine $FILE_UNITARY $FILE_MODEL
158
163
159
164
# Make html report
160
165
coverage html
You can’t perform that action at this time.
0 commit comments