Krinkle has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/202020

Change subject: Publish phpunit-coverage for cdb
......................................................................

Publish phpunit-coverage for cdb

Change-Id: Id75e8e784a82c002a485f3eac901527c0da17ce0
---
M jjb/macro.yaml
M jjb/misc.yaml
2 files changed, 17 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/20/202020/1

diff --git a/jjb/macro.yaml b/jjb/macro.yaml
index b751f8c..3e9564f 100644
--- a/jjb/macro.yaml
+++ b/jjb/macro.yaml
@@ -157,6 +157,7 @@
          cd "$NPM_SET_PATH"
          npm test
 
+# MUST run 'global-setup' before this
 - builder:
     name: doxygen
     builders:
@@ -165,6 +166,17 @@
          rm -rf doc/html
          doxygen
 
+# Intended for use in jobs that use composer-update
+#
+# MUST run 'global-setup' before this
+- builder:
+    name: phpunit-coverage
+    builders:
+     - shell: |
+         . /srv/deployment/integration/slave-scripts/bin/global-set-env.sh
+         rm -rf coverage
+         ./vendor/bin/phpunit --coverage-html coverage/
+
 # ALWAYS pair with 'global-teardown'
 - builder:
     name: global-setup
diff --git a/jjb/misc.yaml b/jjb/misc.yaml
index 9c17821..267bc4a 100644
--- a/jjb/misc.yaml
+++ b/jjb/misc.yaml
@@ -84,6 +84,11 @@
      - doc-publish:
         docsrc: 'doc/html'
         docdest: 'cdb/$ZUUL_BRANCH'
+     - composer-update
+     - phpunit-coverage
+     - cover-publish:
+        src: 'coverage'
+        dest: 'cdb'
     publishers:
      - global-teardown
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id75e8e784a82c002a485f3eac901527c0da17ce0
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Krinkle <krinklem...@gmail.com>

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

Reply via email to