changeset 52236:48f772a5c476 stable

ci: shard the tests on windows too
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 10 Nov 2024 02:40:44 +0100
parents 8cacf7952f14
children 4602e90207f3
files contrib/heptapod-ci.yml
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/heptapod-ci.yml	Wed Nov 13 00:52:13 2024 +0100
+++ b/contrib/heptapod-ci.yml	Sun Nov 10 02:40:44 2024 +0100
@@ -341,6 +341,11 @@
 .windows-runtests:
     extends: .windows
     stage: platform-compat
+    # the UX for manual parallel jobs is quite awful, and the job que depends
+    # upon are manual anyway, so we can make this start automatically once the
+    # associated wheel is ready.
+    when: on_success
+    parallel: 20
     script:
         - echo "Entering script section"
         - echo "python used, $Env:PYTHON"
@@ -364,6 +369,7 @@
                $WHEEL_ARG
                $FLAVOR
                --port `expr 19051 + 1009 "*" $CI_CONCURRENT_ID`
+               --shard-index $CI_NODE_INDEX --shard-total $CI_NODE_TOTAL
                $FILTER
                $RUNTEST_ARGS;
           '