Skip to content

Commit 53a1623

Browse files
authored
Generate a Coverage Job Summary in GHA (#1318)
1 parent 7bd63d2 commit 53a1623

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ jobs:
225225
env:
226226
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
227227
run: tox run -v -e coverage
228+
- name: Generate job summary
229+
run: |
230+
echo '### Coverage Summary' >> $GITHUB_STEP_SUMMARY
231+
tox exec -e coverage -qq -- coverage report --format=markdown >> $GITHUB_STEP_SUMMARY
228232
- name: Report Combined Coverage
229233
uses: coverallsapp/github-action@v2
230234
with:

0 commit comments

Comments
 (0)