diff .gitlab-ci.yml @ 6767:80d5e11713f5 mercurial-5.1

test-compat: merge mercurial-5.2 into mercurial-5.1
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 11 Apr 2024 15:10:26 -0300
parents 5376963ea1d9
children 9737dfad23ba ff7a9ad270b2
line wrap: on
line diff
--- a/.gitlab-ci.yml	Fri Mar 01 16:41:12 2024 -0300
+++ b/.gitlab-ci.yml	Thu Apr 11 15:10:26 2024 -0300
@@ -27,14 +27,14 @@
         - (cd tests; ls -1 test-check-*.t > /tmp/check-tests.txt)
     script:
         - *prepare_hg
-        - ("$PYTHON" --version)
-        - (cd tests; set -x; HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" /ci/repos/mercurial/tests/run-tests.py --color=always $RUNTEST_ARGS)
+        - ($PYTHON --version)
+        - (cd tests; set -x; HGMODULEPOLICY="$TEST_HGMODULEPOLICY" $PYTHON /ci/repos/mercurial/tests/run-tests.py --color=always $RUNTEST_ARGS)
 
 checks-py2:
     <<: *runtests
     variables:
         PY: py2
-        PYTHON: python2
+        PYTHON: prlimit --nofile=1024:1024 python2
         RUNTEST_ARGS: "--test-list /tmp/check-tests.txt"
 
 checks-py3:
@@ -46,7 +46,7 @@
     <<: *runtests
     variables:
         PY: py2
-        PYTHON: python2
+        PYTHON: prlimit --nofile=1024:1024 python2
         RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
         TEST_HGMODULEPOLICY: "c"
 
@@ -54,7 +54,7 @@
     <<: *runtests
     variables:
         PY: py2
-        PYTHON: python2
+        PYTHON: prlimit --nofile=1024:1024 python2
         RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt"
         TEST_HGMODULEPOLICY: "py"