Mercurial > evolve
comparison .gitlab-ci.yml @ 6911:e14ae43aed88 mercurial-5.9
test-compat: merge mercurial-6.0 into mercurial-5.9
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 25 Oct 2024 16:09:37 +0400 |
parents | 038df334d51a |
children | a7929709e89f |
comparison
equal
deleted
inserted
replaced
6806:045db43f35b1 | 6911:e14ae43aed88 |
---|---|
1 .prepare_hg: &prepare_hg | 1 .prepare_hg: &prepare_hg |
2 - hg pull -R /ci/repos/mercurial/ https://repo.mercurial-scm.org/hg | 2 - hg pull -R /ci/repos/mercurial/ https://repo.mercurial-scm.org/hg |
3 - hg_branch=${HG_BRANCH:-$(tests/testlib/map-hg-rev.sh "$(hg identify --branch)")} | 3 - hg_branch=${HG_BRANCH:-$(tests/testlib/map-hg-rev.sh $CI_COMMIT_HG_BRANCH)} |
4 - hg -R /ci/repos/mercurial/ update "$hg_branch" | 4 - hg -R /ci/repos/mercurial/ update "$hg_branch" |
5 - hg_rev=$(hg log -R /ci/repos/mercurial/ -r . -T '{node}') | 5 - hg_rev=$(hg log -R /ci/repos/mercurial/ -r . -T '{node}') |
6 - echo testing with mercurial branch="$hg_branch", revision="$hg_rev" | 6 - echo testing with mercurial branch="$hg_branch", revision="$hg_rev" |
7 | 7 |
8 pytype: | 8 pytype: |
22 | 22 |
23 .runtests_template: &runtests | 23 .runtests_template: &runtests |
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 - (cd tests; ls -1 test-check-sdist.t test-doctest.py > /tmp/compat-blacklist.txt) | |
27 script: | 28 script: |
28 - *prepare_hg | 29 - *prepare_hg |
29 - ($PYTHON --version) | 30 - ($PYTHON --version) |
30 - (cd tests; set -x; HGMODULEPOLICY="$TEST_HGMODULEPOLICY" $PYTHON /ci/repos/mercurial/tests/run-tests.py --color=always $RUNTEST_ARGS) | 31 - (cd tests; set -x; HGMODULEPOLICY="$TEST_HGMODULEPOLICY" $PYTHON /ci/repos/mercurial/tests/run-tests.py --color=always $RUNTEST_ARGS) |
31 | 32 |
32 checks-py2: | 33 checks-py2: |
33 <<: *runtests | 34 <<: *runtests |
34 variables: | 35 variables: |
35 PY: py2 | 36 PY: py2 |
36 PYTHON: prlimit --nofile=1024:1024 python2 | 37 PYTHON: prlimit --nofile=1024:1024 python2 |
37 RUNTEST_ARGS: "--test-list /tmp/check-tests.txt" | 38 RUNTEST_ARGS: "--test-list /tmp/check-tests.txt --blacklist /tmp/compat-blacklist.txt" |
39 CI_CLEVER_CLOUD_FLAVOR: S | |
38 | 40 |
39 checks-py3: | 41 checks-py3: |
40 <<: *runtests | 42 <<: *runtests |
41 variables: | 43 variables: |
42 RUNTEST_ARGS: "--test-list /tmp/check-tests.txt" | 44 RUNTEST_ARGS: "--test-list /tmp/check-tests.txt --blacklist /tmp/compat-blacklist.txt" |
45 CI_CLEVER_CLOUD_FLAVOR: S | |
43 | 46 |
44 tests-py2-cext: | 47 tests-py2-cext: |
45 <<: *runtests | 48 <<: *runtests |
46 variables: | 49 variables: |
47 PY: py2 | 50 PY: py2 |
48 PYTHON: prlimit --nofile=1024:1024 python2 | 51 PYTHON: prlimit --nofile=1024:1024 python2 |
49 RUNTEST_ARGS: "--no-rust --blacklist /tmp/check-tests.txt" | 52 RUNTEST_ARGS: "--no-rust --blacklist /tmp/check-tests.txt --blacklist /tmp/compat-blacklist.txt" |
50 TEST_HGMODULEPOLICY: "c" | 53 TEST_HGMODULEPOLICY: "c" |
51 | 54 |
52 tests-py2-pure: | 55 tests-py2-pure: |
53 <<: *runtests | 56 <<: *runtests |
54 variables: | 57 variables: |
55 PY: py2 | 58 PY: py2 |
56 PYTHON: prlimit --nofile=1024:1024 python2 | 59 PYTHON: prlimit --nofile=1024:1024 python2 |
57 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" | 60 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt --blacklist /tmp/compat-blacklist.txt" |
58 TEST_HGMODULEPOLICY: "py" | 61 TEST_HGMODULEPOLICY: "py" |
59 | 62 |
60 tests-py3-cext: | 63 tests-py3-cext: |
61 <<: *runtests | 64 <<: *runtests |
62 variables: | 65 variables: |
63 RUNTEST_ARGS: "--no-rust --blacklist /tmp/check-tests.txt" | 66 RUNTEST_ARGS: "--no-rust --blacklist /tmp/check-tests.txt --blacklist /tmp/compat-blacklist.txt" |
64 TEST_HGMODULEPOLICY: "c" | 67 TEST_HGMODULEPOLICY: "c" |
65 | 68 |
66 tests-py3-pure: | 69 tests-py3-pure: |
67 <<: *runtests | 70 <<: *runtests |
68 variables: | 71 variables: |
69 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" | 72 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt --blacklist /tmp/compat-blacklist.txt" |
70 TEST_HGMODULEPOLICY: "py" | 73 TEST_HGMODULEPOLICY: "py" |
71 | 74 |
72 .windows_runtests_template: &windows_runtests | 75 .windows_runtests_template: &windows_runtests |
73 before_script: | 76 before_script: |
74 - C:/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && ls -1 tests/test-check-*.t > C:/Temp/check-tests.txt' | 77 - C:/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && ls -1 tests/test-check-*.t > C:/Temp/check-tests.txt' |