Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1102229?usp=email )
Change subject: tests: show coverate report with sysop_write_tests-ci.yml
......................................................................
tests: show coverate report with sysop_write_tests-ci.yml
after pytest-cov was removed, the coverage report has to be invoked.
Change-Id: I78cb36f107effa1100c56fc471cb5601d32551f0
---
M .github/workflows/sysop_write_tests-ci.yml
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/.github/workflows/sysop_write_tests-ci.yml
b/.github/workflows/sysop_write_tests-ci.yml
index 6ff879a..e26f046 100644
--- a/.github/workflows/sysop_write_tests-ci.yml
+++ b/.github/workflows/sysop_write_tests-ci.yml
@@ -67,6 +67,10 @@
python pwb.py version
coverage run -m pytest -s -r A -a "${{ matrix.attr }}"
+ - name: Show coverage statistics
+ run: |
+ coverage report
+
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1102229?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I78cb36f107effa1100c56fc471cb5601d32551f0
Gerrit-Change-Number: 1102229
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]