comparison .gitlab-ci.yml @ 6798:f46913e52954 mercurial-6.7

test-compat: create a compatibility branch for Mercurial 6.7
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 26 Jun 2024 13:44:37 +0400
parents 76c2f08b57ee
children 43b1fcb4055c
comparison
equal deleted inserted replaced
6797:398a3907d343 6798:f46913e52954
24 image: registry.heptapod.net/mercurial/ci-images/$PY-hgext3rd 24 image: registry.heptapod.net/mercurial/ci-images/$PY-hgext3rd
25 before_script: 25 before_script:
26 - (cd tests; ls -1 test-check-*.t > /tmp/check-tests.txt) 26 - (cd tests; ls -1 test-check-*.t > /tmp/check-tests.txt)
27 script: 27 script:
28 - *prepare_hg 28 - *prepare_hg
29 - ($PYTHON --version) 29 - ("$PYTHON" --version)
30 - (cd tests; set -x; HGMODULEPOLICY="$TEST_HGMODULEPOLICY" $PYTHON /ci/repos/mercurial/tests/run-tests.py --color=always $RUNTEST_ARGS) 30 - (cd tests; set -x; HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" /ci/repos/mercurial/tests/run-tests.py --color=always $RUNTEST_ARGS)
31 31
32 checks-py3: 32 checks-py3:
33 <<: *runtests 33 <<: *runtests
34 variables: 34 variables:
35 RUNTEST_ARGS: "--test-list /tmp/check-tests.txt" 35 RUNTEST_ARGS: "--test-list /tmp/check-tests.txt"
43 tests-py3-pure: 43 tests-py3-pure:
44 <<: *runtests 44 <<: *runtests
45 variables: 45 variables:
46 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" 46 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt"
47 TEST_HGMODULEPOLICY: "py" 47 TEST_HGMODULEPOLICY: "py"
48
49 tests-py2-6.1:
50 <<: *runtests
51 variables:
52 PY: py2
53 PYTHON: prlimit --nofile=1024:1024 python2
54 RUNTEST_ARGS: "--no-rust --blacklist /tmp/check-tests.txt"
55 TEST_HGMODULEPOLICY: "c"
56 HG_BRANCH: 'max(tag("re:^6\.1"))'
57 allow_failure: true
58 48
59 doc: 49 doc:
60 image: registry.heptapod.net/mercurial/ci-images/py3-evolve-doc 50 image: registry.heptapod.net/mercurial/ci-images/py3-evolve-doc
61 script: 51 script:
62 - make doc 52 - make doc