We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1be764 commit d9e64feCopy full SHA for d9e64fe
.pipelines/templates/run-unit-tests.yaml
@@ -1,6 +1,6 @@
1
stages:
2
- stage: unittest
3
- displayName: "Project Unit Tests"
+ displayName: "Unit Tests"
4
dependsOn:
5
- setup
6
variables:
@@ -90,11 +90,16 @@ stages:
90
inputs:
91
version: '$(GOVERSION)'
92
93
+ - task: UsePythonVersion@0
94
+ inputs:
95
+ versionSpec: '3.x' # string. Required. Version spec. Default: 3.x.
96
+ addToPath: true
97
+
98
- task: PythonScript@0
99
displayName: "Run Unit Tests - Windows"
100
retryCountOnTaskFailure: 3
101
- pythonInterpreter: '/usr/bin/python3'
102
+ pythonInterpreter: $(pythonLocation)
103
scriptSource: 'inline'
104
script: |
105
import os
0 commit comments