aboutsummaryrefslogtreecommitdiffstats
path: root/coin_test_instructions.py
diff options
context:
space:
mode:
authorSimo Fält <simo.falt@qt.io>2022-12-29 10:01:50 +0200
committerSimo Fält <simo.falt@qt.io>2022-12-29 11:00:45 +0200
commitbaa27a8423c7b36c5b2ed14ca0d1cf7dc4131a1b (patch)
tree9f43be4c67162d6fc095b4153bb21b61494f590b /coin_test_instructions.py
parentc8840e264e930260b58a0c3cd4e53cbf66aa10c9 (diff)
CI: Fix Windows version detection to get correct python
Pick-to: 6.2 6.4 Change-Id: Ice773bb3497fddce636b959c1a0314e722c3c72c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'coin_test_instructions.py')
-rw-r--r--coin_test_instructions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coin_test_instructions.py b/coin_test_instructions.py
index 3261599e4..54b9127a9 100644
--- a/coin_test_instructions.py
+++ b/coin_test_instructions.py
@@ -98,7 +98,7 @@ def run_test_instructions():
# In win machines, there are additional python versions to test with
if CI_HOST_OS == "Windows":
- if os.environ.get('HOST_OSVERSION_COIN') == 'windows_10_21h2':
+ if (os.environ.get('HOST_OSVERSION_COIN')).startswith('windows_10'):
call_testrunner("3.10.0", str(testRun))
else:
call_testrunner("3.7.9", str(testRun))