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

login
register
mail settings
Submitter phabricator
Date March 28, 2021, 10:21 p.m.
Message ID <differential-rev-PHID-DREV-tyu2g5mcgu5idpzbnas7-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48598/
State New
Headers show

Comments

phabricator - March 28, 2021, 10:21 p.m.
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




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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"