changeset 51846:243e805e8a2d

ci: add the option to test more Python versions It seems like a good idea to be able to test the lowest version we support. And there have been enougth issue with 3.12 that we need to be able to make sur we do not break it. We should probably get a matrix setup for more version and flavor, but that is a simple and efficient start.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 28 Aug 2024 16:35:43 +0200
parents cd72a88c5599
children a3a9251c6081
files contrib/heptapod-ci.yml
diffstat 1 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/heptapod-ci.yml	Thu Sep 05 12:37:59 2024 +0200
+++ b/contrib/heptapod-ci.yml	Wed Aug 28 16:35:43 2024 +0200
@@ -66,7 +66,7 @@
     variables:
         CI_CLEVER_CLOUD_FLAVOR: S
 
-test-c:
+test-c: &test_c
     <<: *runtests
     variables:
         RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt"
@@ -99,6 +99,21 @@
         RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt --chg"
         TEST_HGMODULEPOLICY: "c"
 
+# note: we should probably get a full matrix for flavor × py-version, but this
+# is a simple start to be able to check if we break the lowest supported
+# version (and 3.12 have been giving us various troubles)
+test-3.8-c:
+    <<: *test_c
+    when: manual  # avoid overloading the CI by default
+    variables:
+        PYTHON: python3.8
+
+test-3.12-c:
+    <<: *test_c
+    when: manual  # avoid overloading the CI by default
+    variables:
+        PYTHON: python3.12
+
 check-pytype:
     extends: .runtests_template
     before_script: