File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 95
95
set -xe
96
96
python -m tox
97
97
98
+ - name : " Combine data"
99
+ env :
100
+ COVERAGE_RCFILE : " metacov.ini"
101
+ run : |
102
+ python -m coverage combine
103
+ mv .metacov .metacov.${{ matrix.python-version }}.${{ matrix.os }}
104
+
98
105
- name : " Upload coverage data"
99
106
uses : actions/upload-artifact@v3
100
107
with :
@@ -174,10 +181,9 @@ jobs:
174
181
echo "url=https://nedbat.github.io/coverage-reports/$REPORT_DIR" >> $GITHUB_ENV
175
182
echo "branch=${REF#refs/heads/}" >> $GITHUB_ENV
176
183
177
- - name : " Create summary "
184
+ - name : " Summarize "
178
185
run : |
179
186
echo '### Total coverage: ${{ env.total }}%' >> $GITHUB_STEP_SUMMARY
180
- echo '[${{ env.url }}](${{ env.url }})' >> $GITHUB_STEP_SUMMARY
181
187
182
188
- name : " Checkout reports repo"
183
189
if : ${{ github.ref == 'refs/heads/master' }}
@@ -220,6 +226,7 @@ jobs:
220
226
git add ${{ env.report_dir }} latest.html
221
227
git commit --file=../commit.txt
222
228
git push
229
+ echo '[${{ env.url }}](${{ env.url }})' >> $GITHUB_STEP_SUMMARY
223
230
224
231
- name : " Create badge"
225
232
if : ${{ github.ref == 'refs/heads/master' }}
You can’t perform that action at this time.
0 commit comments