-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
CI now supports generating PHP test coverage reports for extensions
after a commit is merged. It's already running for some extensions:
https://doc.wikimedia.org/cover-extensions/
Hopefully these reports will encourage people to increase test
coverage :-)
I've also written documentation at
https://www.mediawiki.org/wiki/Continuous_integration/Tutorials/Generat
ing_PHP_test_coverage_for_a_MediaWiki_extension
which explains how to generate code coverage results locally, and then
write a patch for the CI configuration to have jenkins run it.
The bug for this was https://phabricator.wikimedia.org/T71685,
thanks to the people who helped out with testing this over the past
few weeks.
- -- Kunal / Legoktm
-----BEGIN PGP SIGNATURE-----
iQJLBAEBCgA1FiEE+h6fmkHn9DUCyl1jUvyOe+23/KIFAlpnx7cXHGxlZ29rdG1A
bWVtYmVyLmZzZi5vcmcACgkQUvyOe+23/KLd1A//S2TsTz7Ius1MVnsMv74q1h9O
z+zTrZ/LyqhVButL3/sFqwqpaDS25gA+ugyKpT9+h8bymUX5APHC4LPa3IZyNI/P
Y/lLNU7HiJsB0RUg2Qq/LrKmeX5yuQbrA7zeCpDzvCmiOEpd7VkMLLSnIao0nJ7h
tf3J7WersuZQBsn9mkuNCsGrTl3n7/Fo3HiL7LXpLlwpTYDLTEV+M231dKvGMFdx
7ui0LFWprpzGWO9eTxuJvVGy6mYonN4GRieFmzi6vyvr65xPEtCXXYx7dfTNUDml
C2o4WGWbYvPxwhSeFpf1W6cdGd0dkC1gqYYCCKlqXDveQNIvpkLcsr0S5/hWZKyx
djgQWR+Rue4Bq3EQH1AjqzrP6HQNElP7a2KjELHBA7ihGlnXaYeSO5QNC5DJ+nvy
/062SVYANbCRIjjjSvl+mPeaXwoBoIX8z4Z2qm/0nCaUrGo2HeQ1O7Mw7Ocf0+od
nzjIjI0CHcW1i5afz0f8Kc8XByRvhccWKRDcFsw1m64xVP6Aazn6keR3ZJtGkQS7
hMRC0eOsDEtc8uNW2fVYReyFZBo1xiAprQRd2y46fv0JDqTRGLfGihIVLPFQiVqN
BE+kcro/i1TCAVOVTEu56kYhOE+HCtwHVRZA/P46Z4d5+/3RLDxS39/w4peRgd2K
+IEOgVfACbz2Mi8Xg/Y=
=l2yo
-----END PGP SIGNATURE-----