diff .gitlab-ci.yml @ 6906:67b8a57200f4 mercurial-6.2

ci: skip doctests on older branches We either need to install and use newer system hg that supports zstd revlog compression, or we can skip doctests because usually there are other tests that cover the same code (e.g. by testing the relevant commands).
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 24 Oct 2024 19:48:01 +0400
parents 9b9116f6c293
children 5439ac6b2fc2
line wrap: on
line diff
--- a/.gitlab-ci.yml	Thu Oct 24 19:16:15 2024 +0400
+++ b/.gitlab-ci.yml	Thu Oct 24 19:48:01 2024 +0400
@@ -23,6 +23,7 @@
     image: registry.heptapod.net/mercurial/ci-images/py3-hgext3rd
     before_script:
         - (cd tests; ls -1 test-check-*.t > /tmp/check-tests.txt)
+        - echo test-doctest.py > /tmp/doctest.txt
     script:
         - *prepare_hg
         - ("$PYTHON" --version)
@@ -38,13 +39,13 @@
 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/doctest.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/doctest.txt"
         TEST_HGMODULEPOLICY: "py"
 
 .windows_runtests_template: &windows_runtests