mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-21 15:20:59 +00:00
d407ac4740
Signed-off-by: Dan Ryan <dan@danryan.co>
26 lines
973 B
YAML
26 lines
973 B
YAML
steps:
|
|
- powershell: |
|
|
# Fix Git SSL errors
|
|
pip install certifi
|
|
python -m certifi > cacert.txt
|
|
Write-Host "##vso[task.setvariable variable=GIT_SSL_CAINFO]$(Get-Content cacert.txt)"
|
|
$env:GIT_SSL_CAINFO="$(Get-Content cacert.txt)"
|
|
# Shorten paths to get under MAX_PATH or else integration tests will fail
|
|
# https://bugs.python.org/issue18199
|
|
subst T: "$env:TEMP"
|
|
Write-Host "##vso[task.setvariable variable=TEMP]T:\"
|
|
$env:TEMP='T:\'
|
|
Write-Host "##vso[task.setvariable variable=TMP]T:\"
|
|
$env:TMP='T:\'
|
|
git submodule sync
|
|
git submodule update --init --recursive
|
|
D:\.venv\Scripts\pipenv run pytest -ra --ignore=pipenv\patched --ignore=pipenv\vendor --junitxml=test-results.xml tests
|
|
displayName: Run integration tests
|
|
|
|
- task: PublishTestResults@2
|
|
displayName: Publish Test Results
|
|
inputs:
|
|
testResultsFiles: '**/test-results.xml'
|
|
testRunTitle: 'Python $(python.version)'
|
|
condition: succeededOrFailed()
|