Hashar has submitted this change and it was merged.

Change subject: PHPUnit code coverage for mediawiki-core
......................................................................


PHPUnit code coverage for mediawiki-core

Exclude the usual unit tests groups as well as the Dump group which is
way too slow.

Bug: 31518
Change-Id: Ic521c23e26d28b7e8e117f7d04daf1073e75b625
---
M mediawiki.yaml
1 file changed, 18 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Verified; Looks good to me, approved



diff --git a/mediawiki.yaml b/mediawiki.yaml
index 3ec4b0c..d19b125 100644
--- a/mediawiki.yaml
+++ b/mediawiki.yaml
@@ -148,6 +148,24 @@
         targets: 'phpunit-all'
         buildfile: '/var/lib/jenkins/jobs/_shared/build.xml'
 
+- job:
+    name: 'mediawiki-core-code-coverage'
+    defaults: global
+
+    builders:
+     - get-mw-core:
+        branch: 'master'
+     - mw-install-sqlite
+     - shell: |
+        php tests/phpunit/phpunit.php \
+            --exclude-group Dump,Broken,ParserFuzz,Stub \
+            --coverage-html /srv/org/mediawiki/integration/coverage/
+    triggers:
+     - timed: '0 3 * * *'
+    wrappers:
+     - ansicolor
+     - timestamps
+
 - project:
     name: mediawiki-core-regression
     gerrit-name: mediawiki/core

-- 
To view, visit https://gerrit.wikimedia.org/r/53532
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic521c23e26d28b7e8e117f7d04daf1073e75b625
Gerrit-PatchSet: 6
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>
Gerrit-Reviewer: Hashar <has...@free.fr>
Gerrit-Reviewer: Krinkle <ttij...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to