Mercurial > evolve
diff .gitlab-ci.yml @ 6910:038df334d51a mercurial-6.0
test-compat: merge mercurial-6.1 into mercurial-6.0
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 25 Oct 2024 15:50:15 +0400 |
parents | e51dfd0e1a88 701d4bb5d53c |
children | a7929709e89f |
line wrap: on
line diff
--- a/.gitlab-ci.yml Wed Jun 26 15:39:36 2024 +0400 +++ b/.gitlab-ci.yml Fri Oct 25 15:50:15 2024 +0400 @@ -1,6 +1,6 @@ .prepare_hg: &prepare_hg - hg pull -R /ci/repos/mercurial/ https://repo.mercurial-scm.org/hg - - hg_branch=${HG_BRANCH:-$(tests/testlib/map-hg-rev.sh "$(hg identify --branch)")} + - hg_branch=${HG_BRANCH:-$(tests/testlib/map-hg-rev.sh $CI_COMMIT_HG_BRANCH)} - hg -R /ci/repos/mercurial/ update "$hg_branch" - hg_rev=$(hg log -R /ci/repos/mercurial/ -r . -T '{node}') - echo testing with mercurial branch="$hg_branch", revision="$hg_rev" @@ -24,6 +24,7 @@ image: registry.heptapod.net/mercurial/ci-images/$PY-hgext3rd before_script: - (cd tests; ls -1 test-check-*.t > /tmp/check-tests.txt) + - (cd tests; ls -1 test-check-sdist.t test-doctest.py > /tmp/compat-blacklist.txt) script: - *prepare_hg - ($PYTHON --version) @@ -34,19 +35,21 @@ variables: PY: py2 PYTHON: prlimit --nofile=1024:1024 python2 - RUNTEST_ARGS: "--test-list /tmp/check-tests.txt" + RUNTEST_ARGS: "--test-list /tmp/check-tests.txt --blacklist /tmp/compat-blacklist.txt" + CI_CLEVER_CLOUD_FLAVOR: S checks-py3: <<: *runtests variables: - RUNTEST_ARGS: "--test-list /tmp/check-tests.txt" + RUNTEST_ARGS: "--test-list /tmp/check-tests.txt --blacklist /tmp/compat-blacklist.txt" + CI_CLEVER_CLOUD_FLAVOR: S tests-py2-cext: <<: *runtests variables: PY: py2 PYTHON: prlimit --nofile=1024:1024 python2 - RUNTEST_ARGS: "--no-rust --blacklist /tmp/check-tests.txt" + RUNTEST_ARGS: "--no-rust --blacklist /tmp/check-tests.txt --blacklist /tmp/compat-blacklist.txt" TEST_HGMODULEPOLICY: "c" tests-py2-pure: @@ -54,19 +57,19 @@ variables: PY: py2 PYTHON: prlimit --nofile=1024:1024 python2 - RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" + RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt --blacklist /tmp/compat-blacklist.txt" TEST_HGMODULEPOLICY: "py" tests-py3-cext: <<: *runtests variables: - RUNTEST_ARGS: "--no-rust --blacklist /tmp/check-tests.txt" + RUNTEST_ARGS: "--no-rust --blacklist /tmp/check-tests.txt --blacklist /tmp/compat-blacklist.txt" TEST_HGMODULEPOLICY: "c" tests-py3-pure: <<: *runtests variables: - RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt" + RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt --blacklist /tmp/compat-blacklist.txt" TEST_HGMODULEPOLICY: "py" .windows_runtests_template: &windows_runtests