comparison .gitlab-ci.yml @ 6192:47f1a6bea77f

ci: don't test on python2, since it's no longer supported by core hg (6.2+)
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 07 Mar 2022 13:08:13 +0300
parents 0d53a8d4170b
children e58e4af1a730
comparison
equal deleted inserted replaced
6155:5bd5a7ab32d3 6192:47f1a6bea77f
28 script: 28 script:
29 - *prepare_hg 29 - *prepare_hg
30 - ("$PYTHON" --version) 30 - ("$PYTHON" --version)
31 - (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)
32 32
33 checks-py2:
34 <<: *runtests
35 variables:
36 PY: py2
37 PYTHON: python2
38 RUNTEST_ARGS: "--test-list /tmp/check-tests.txt"
39
40 checks-py3: 33 checks-py3:
41 <<: *runtests 34 <<: *runtests
42 variables: 35 variables:
43 RUNTEST_ARGS: "--test-list /tmp/check-tests.txt" 36 RUNTEST_ARGS: "--test-list /tmp/check-tests.txt"
44
45 tests-py2-cext:
46 <<: *runtests
47 variables:
48 PY: py2
49 PYTHON: python2
50 RUNTEST_ARGS: "--no-rust --blacklist /tmp/check-tests.txt"
51 TEST_HGMODULEPOLICY: "c"
52
53 tests-py2-pure:
54 <<: *runtests
55 variables:
56 PY: py2
57 PYTHON: python2
58 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt"
59 TEST_HGMODULEPOLICY: "py"
60 37
61 tests-py3-cext: 38 tests-py3-cext:
62 <<: *runtests 39 <<: *runtests
63 variables: 40 variables:
64 RUNTEST_ARGS: "--no-rust --blacklist /tmp/check-tests.txt" 41 RUNTEST_ARGS: "--no-rust --blacklist /tmp/check-tests.txt"