Skip to content
Snippets Groups Projects
Commit f514c5acfdd6 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

ci: split the windows runtest invocation into more granular variables

This helps make things clearer and easier to adjust in sub jobs.
parent b25fc1f25edf
No related branches found
No related tags found
2 merge requests!1083Merge stable into default,!1068preparation for Windows Wheel building
......@@ -294,7 +294,10 @@
- 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"
......@@ -297,9 +300,21 @@
- 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:
......@@ -302,10 +317,10 @@
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:
......@@ -307,9 +322,9 @@
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment