Skip to content

Commit d9e64fe

Browse files
committed
fixup! Edit Pipeline Trigger
1 parent e1be764 commit d9e64fe

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.pipelines/templates/run-unit-tests.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
stages:
22
- stage: unittest
3-
displayName: "Project Unit Tests"
3+
displayName: "Unit Tests"
44
dependsOn:
55
- setup
66
variables:
@@ -90,11 +90,16 @@ stages:
9090
inputs:
9191
version: '$(GOVERSION)'
9292

93+
- task: UsePythonVersion@0
94+
inputs:
95+
versionSpec: '3.x' # string. Required. Version spec. Default: 3.x.
96+
addToPath: true
97+
9398
- task: PythonScript@0
9499
displayName: "Run Unit Tests - Windows"
95100
retryCountOnTaskFailure: 3
96101
inputs:
97-
pythonInterpreter: '/usr/bin/python3'
102+
pythonInterpreter: $(pythonLocation)
98103
scriptSource: 'inline'
99104
script: |
100105
import os

0 commit comments

Comments
 (0)