Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions azure/azure-pr-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ extends:
- template: ./templates/run-tests.yml
parameters:
full: true
python_version: ${{ variables.python_version }}
# - environment: internal-dev-sandbox
# proxy_path: sandbox
# post_deploy:
Expand Down
1 change: 1 addition & 0 deletions azure/azure-release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ extends:
- template: ./templates/run-tests.yml
parameters:
full: true
python_version: ${{ variables.python_version }}
# - environment: internal-dev-sandbox
# proxy_path: sandbox
# post_deploy:
Expand Down
2 changes: 2 additions & 0 deletions azure/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ variables:
value: {{ SHORT_SERVICE_NAME }}
- name: service_base_path
value: {{ SERVICE_BASE_PATH }}
- name: python_version
value: 3.9
8 changes: 8 additions & 0 deletions azure/templates/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,16 @@ parameters:
- name: smoketest_command
type: string
default: 'make smoketest'
- name: python_version
type: string
default: ''

steps:
- task: UsePythonVersion@0
displayName: "Use Python ${{ parameters.python_version }}"
inputs:
versionSpec: ${{ parameters.python_version }}

- bash: |
make install-python
workingDirectory: $(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)
Expand Down
Loading