changeset 52227:f514c5acfdd6 stable

ci: split the windows runtest invocation into more granular variables This helps make things clearer and easier to adjust in sub jobs.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 13 Nov 2024 00:53:18 +0100
parents b25fc1f25edf
children be1f06902861
files contrib/heptapod-ci.yml
diffstat 1 files changed, 18 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/heptapod-ci.yml	Sat Nov 09 23:36:30 2024 +0100
+++ b/contrib/heptapod-ci.yml	Wed Nov 13 00:53:18 2024 +0100
@@ -294,22 +294,37 @@
         - echo "Entering script section"
         - echo "python used, $Env:PYTHON"
         - Invoke-Expression "$Env:PYTHON -V"
+        - echo "$Env:HGTESTS_ALLOW_NETIO"
+        - echo "$Env:FLAVOR"
+        - echo "$Env:FILTER"
         - echo "$Env:RUNTEST_ARGS"
         - echo "$Env:TMP"
         - echo "$Env:TEMP"
 
-        - C:/hgdev/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && HGTESTS_ALLOW_NETIO="$TEST_HGTESTS_ALLOW_NETIO" $PYTHON tests/run-tests.py --color=always $RUNTEST_ARGS'
+        - C:/hgdev/MinGW/msys/1.0/bin/sh.exe
+          --login -c 'cd "$OLDPWD"
+            && HGTESTS_ALLOW_NETIO="$TEST_HGTESTS_ALLOW_NETIO"
+               $PYTHON tests/run-tests.py
+               --color=always
+               $FLAVOR
+               $FILTER
+               $RUNTEST_ARGS;
+          '
+    variables:
+      RUNTEST_ARGS: ""
+      FLAVOR: ""
+      FILTER: "--blacklist ${TMP_WORK_DIR}/check-tests.txt"
 
 windows:
     extends: .windows-runtests
     variables:
-        RUNTEST_ARGS: "-j 8 --blacklist ${TMP_WORK_DIR}/check-tests.txt"
+        RUNTEST_ARGS: "-j 8"
 
 windows-pyox:
     extends: .windows-runtests
     when: manual  # pyoxidizer builds seem broken with --no-use-pep517
     variables:
-        RUNTEST_ARGS: "--blacklist ${TMP_WORK_DIR}/check-tests.txt --pyoxidized"
+        FLAVOR: "--pyoxidized"
 
 macos:
     extends: .test-c