Mercurial > evolve
diff .gitlab-ci.yml @ 6914:8da51e02b5d3 mercurial-5.6
test-compat: merge mercurial-5.7 into mercurial-5.6
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 25 Oct 2024 16:35:18 +0400 |
parents | 038df334d51a |
children | a7929709e89f |
line wrap: on
line diff
--- a/.gitlab-ci.yml Wed Jun 26 18:09:37 2024 +0400 +++ b/.gitlab-ci.yml Fri Oct 25 16:35:18 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