azure: Fix python3 in vs2017 tasks

pull/4903/head
Daniel Mensinger 6 years ago committed by Jussi Pakkanen
parent a322dc534b
commit fcd608c131
  1. 5
      azure-pipelines.yml
  2. 7
      ci/azure-steps.yml

@ -50,6 +50,11 @@ jobs:
backend: ninja
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.5'
addToPath: true
architecture: 'x64'
- template: ci/azure-steps.yml
- job: cygwin

@ -142,9 +142,16 @@ steps:
MSBuild /version
}
echo "=== PATH BEGIN ==="
echo ($env:Path).Replace(';',"`n")
echo "=== PATH END ==="
echo ""
echo "Locating Python:"
where.exe python
python --version
echo ""
echo "=== Start running tests ==="
python run_tests.py --backend $(backend)
- task: PublishTestResults@2

Loading…
Cancel
Save