From 19c194d28e9bebb4b0ec66ba42eea9d5dddcc49a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simo=20F=C3=A4lt?= Date: Thu, 18 Aug 2022 11:04:06 +0300 Subject: CI: Use same python with testrun as with build on win It seems the default python3.6 is broken on tier2 vm template. Pick-to: 6.2 6.3 Change-Id: I8f45e3a9561eca4adefaa575d784071011168c1b Reviewed-by: Friedemann Kleint --- coin_test_instructions.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/coin_test_instructions.py b/coin_test_instructions.py index e90c9e8af..461805043 100644 --- a/coin_test_instructions.py +++ b/coin_test_instructions.py @@ -96,9 +96,10 @@ def run_test_instructions(): # In win machines, there are additional python versions to test with if CI_HOST_OS == "Windows": - call_testrunner("3.6.1", str(testRun)) - call_testrunner("3.8.1", str(testRun)) - call_testrunner("3.10.0", str(testRun)) + if os.environ.get('HOST_OSVERSION_COIN') == 'windows_10_21h2': + call_testrunner("3.10.0", str(testRun)) + else: + call_testrunner("3.7.9", str(testRun)) elif CI_HOST_OS == "Linux": call_testrunner("3.8", str(testRun)) else: -- cgit v1.2.3