D10282: heptapod-ci: add jobs to test Mercurial using re2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

D10282: heptapod-ci: add jobs to test Mercurial using re2

marmoute (Pierre-Yves David)
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  They are multiple library providing a re2 module and they were broken with 5.7,
  so we add some (smaller) job to test them using new images.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D10282

AFFECTED FILES
  contrib/heptapod-ci.yml

CHANGE DETAILS

diff --git a/contrib/heptapod-ci.yml b/contrib/heptapod-ci.yml
--- a/contrib/heptapod-ci.yml
+++ b/contrib/heptapod-ci.yml
@@ -117,3 +117,37 @@
         PYTHON: python3
         RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt --chg"
         TEST_HGMODULEPOLICY: "c"
+
+# Also run test with binding to faster regular expression. We only run a subset
+# of the test that seems relevant to avoid adding too much runtime to the
+# already heavy CI run.
+
+test-py2-pyre2:
+    <<: *runtests
+    image: registry.heptapod.net/mercurial/ci-images/mercurial-core-pyre2:$HG_CI_IMAGE_TAG
+    variables:
+        RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt -k hgignore -k matcher"
+        TEST_HGMODULEPOLICY: "c"
+
+test-py3-pyre2:
+    <<: *runtests
+    image: registry.heptapod.net/mercurial/ci-images/mercurial-core-pyre2:$HG_CI_IMAGE_TAG
+    variables:
+        RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt -k hgignore -k matcher"
+        PYTHON: python3
+        TEST_HGMODULEPOLICY: "c"
+
+test-py2-fb-re2:
+    <<: *runtests
+    image: registry.heptapod.net/mercurial/ci-images/mercurial-core-fb-re2:$HG_CI_IMAGE_TAG
+    variables:
+        RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt -k hgignore -k matcher"
+        TEST_HGMODULEPOLICY: "c"
+
+test-py3-fb-re2:
+    <<: *runtests
+    image: registry.heptapod.net/mercurial/ci-images/mercurial-core-fb-re2:$HG_CI_IMAGE_TAG
+    variables:
+        RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt -k hgignore -k matcher"
+        PYTHON: python3
+        TEST_HGMODULEPOLICY: "c"



To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel