From ba1618709282cd6223e924d7faf5f2ddb7d52ec2 Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Tue, 31 Mar 2020 23:21:32 -0400 Subject: [PATCH] Update windows tests Signed-off-by: Dan Ryan --- .azure-pipelines/steps/run-tests-windows.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.azure-pipelines/steps/run-tests-windows.yml b/.azure-pipelines/steps/run-tests-windows.yml index 97eaf4b134..2cf7e04c98 100644 --- a/.azure-pipelines/steps/run-tests-windows.yml +++ b/.azure-pipelines/steps/run-tests-windows.yml @@ -5,7 +5,7 @@ steps: - task: PowerShell@2 inputs: filePath: .azure-pipelines/scripts/New-RAMDisk.ps1 - arguments: "-Drive R -Size 1GB" + arguments: "-Drive R -Size 2GB" displayName: Setup RAMDisk - powershell: | @@ -25,12 +25,18 @@ steps: displayName: Fix Temp Variable env: PYTHON_VERSION: ${{ parameters.python_version }} - -- script: | - git submodule sync && git submodule update --init --recursive - pipenv run pytest -ra --verbose -n 4 --ignore=pipenv\patched --ignore=pipenv\vendor --junitxml=test-results.xml tests +- powershell: | + # Fix Git SSL errors + pip install certifi tox + python -m certifi > cacert.txt + $env:GIT_SSL_CAINFO = $(Get-Content cacert.txt) + git submodule sync + git submodule update --init --recursive + $env:TEMP = "R:\Temp" + pipenv run pytest -ra --verbose -n 4 -v --ignore=pipenv\patched --ignore=pipenv\vendor --junitxml=test-results.xml tests displayName: Run integration tests env: PYTHONWARNINGS: 'ignore:DEPRECATION' PIPENV_NOSPIN: '1' TEMP: "R:\\Temp" + WORKON_HOME: "R:\\Temp\\virtualenvs"