Skip to content

Commit

Permalink
Update windows tests
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
  • Loading branch information
techalchemy committed Apr 1, 2020
1 parent 6b4839e commit ba16187
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .azure-pipelines/steps/run-tests-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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"

0 comments on commit ba16187

Please sign in to comment.