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

wheel: test the built wheel in the windows tests

Same logic as Linux and Mac, we better test that what we build and ship works.
parent 6c777d25e8a6
No related branches found
No related tags found
3 merge requests!1083Merge stable into default,!1073make sure windows wheel are built with transalation,!1066Windows Wheels
......@@ -346,6 +346,7 @@
- echo "python used, $Env:PYTHON"
- Invoke-Expression "$Env:PYTHON -V"
- echo "$Env:HGTESTS_ALLOW_NETIO"
- echo "$Env:WHEEL_ARG"
- echo "$Env:FLAVOR"
- echo "$Env:FILTER"
- echo "$Env:RUNTEST_ARGS"
......@@ -360,9 +361,10 @@
&& HGTESTS_ALLOW_NETIO="$TEST_HGTESTS_ALLOW_NETIO"
$PYTHON tests/run-tests.py
--color=always
$WHEEL_ARG
$FLAVOR
--port `expr 19051 + 1009 "*" $CI_CONCURRENT_ID`
$FILTER
$RUNTEST_ARGS;
'
variables:
......@@ -363,9 +365,10 @@
$FLAVOR
--port `expr 19051 + 1009 "*" $CI_CONCURRENT_ID`
$FILTER
$RUNTEST_ARGS;
'
variables:
WHEEL_ARG: ""
RUNTEST_ARGS: ""
FLAVOR: ""
FILTER: "--blacklist ${TMP_WORK_DIR}/check-tests.txt --blacklist ${TMP_WORK_DIR}/windows-skip.txt"
......@@ -374,6 +377,13 @@
extends: .windows-runtests
variables:
RUNTEST_ARGS: "-j 8"
WHEEL_ARG: "--hg-wheel wheels/win32/mercurial-*-cp39-cp39-win_amd64.whl"
needs:
- job: build-c-wheel-windows
parallel:
matrix:
- CIBW_BUILD: "cp39-*"
CIBW_ARCHS: "AMD64"
windows-pyox:
extends: .windows-runtests
......
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