Cscott has uploaded a new change for review.
https://gerrit.wikimedia.org/r/79013
Change subject: New Parsoid test: run parsoid's parserTests file using PHP
parser.
......................................................................
New Parsoid test: run parsoid's parserTests file using PHP parser.
This helps ensure that we don't commit tests to our fork of
parserTests.txt that will break when we try to merge them with core.
Change-Id: I49d3551676893bfdf7fdf408e90d7477a33608a7
---
M parsoid.yaml
1 file changed, 36 insertions(+), 0 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config
refs/changes/13/79013/1
diff --git a/parsoid.yaml b/parsoid.yaml
index cdd15ab..c8e46a2 100644
--- a/parsoid.yaml
+++ b/parsoid.yaml
@@ -51,6 +51,41 @@
files: '**/results.xml'
- job-template:
+ name: parsoid-php-parsertests
+ node: hasSlaveScripts
+ wrappers:
+ - timeout:
+ timeout: 10
+ fail: true
+ defaults:
+ use-zuul
+ triggers:
+ - zuul
+ scm:
+ - git:
+ url: '/srv/ssd/zuul/git/mediawiki/extensions/Parsoid'
+ refspec: '$ZUUL_REF'
+ name: 'origin'
+ disable-submodules: true
+ - git:
+ url:
'https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Parsoid/js/contrib.git'
+ branches:
+ - master
+ basedir: contrib
+ - git:
+ url: 'https://gerrit.wikimedia.org/r/p/mediawiki/core.git'
+ branches:
+ - master
+ basedir: core
+ builders:
+ # run our parserTests.txt file using core's php parser to ensure
+ # that non-parsoid only tests are actually correct wrt the PHP parser.
+ - shell: |
+ # If any of these commands fail, something is wrong
+ set -e
+ php core/tests/parserTests.php --color=no
--file=js/tests/parserTests.txt --quiet
+
+- job-template:
name: parsoid-parsertests
node: hasSlaveScripts
triggers:
@@ -252,3 +287,4 @@
- parsoid-parse-tool-check
- parsoid-roundtrip-test-check
- parsoid-parsertests-run-harder
+ - parsoid-php-parsertests
--
To view, visit https://gerrit.wikimedia.org/r/79013
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I49d3551676893bfdf7fdf408e90d7477a33608a7
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Cscott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits