From e08d373be35b5970e0289c8ef5ca49f849d35476 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Fri, 31 May 2019 08:47:58 -0700 Subject: [PATCH 1/2] azure pipelines now has rust by default on windows --- azure-pipelines.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0c7c2595..05ed0c3c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,10 +20,8 @@ jobs: os: windows additional_variables: COVERAGE_IGNORE_WINDOWS: '# pragma: windows no cover' - TOX_TESTENV_PASSENV: COVERAGE_IGNORE_WINDOWS + TOX_TESTENV_PASSENV: COVERAGE_IGNORE_WINDOWS RUSTUP_HOME TEMP: C:\Temp # remove when dropping python2 - pre_test: - - template: step--rust-install.yml - template: job--python-tox.yml@asottile parameters: toxenvs: [py37] From 071cc422c772c8758feffe33afb7c5199b8c5990 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Fri, 31 May 2019 12:32:11 -0700 Subject: [PATCH 2/2] xfail default language version check for azure pipelines --- tests/repository_test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/repository_test.py b/tests/repository_test.py index 97fcba05..03ffeb07 100644 --- a/tests/repository_test.py +++ b/tests/repository_test.py @@ -4,6 +4,7 @@ from __future__ import unicode_literals import os.path import re import shutil +import sys import cfgv import mock @@ -717,6 +718,10 @@ def local_python_config(): return {'repo': 'local', 'hooks': hooks} +@pytest.mark.xfail( # pragma: windows no cover + sys.platform == 'win32', + reason='microsoft/azure-pipelines-image-generation#989', +) def test_local_python_repo(store, local_python_config): hook = _get_hook(local_python_config, store, 'foo') # language_version should have been adjusted to the interpreter version