You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
493 B
YAML
23 lines
493 B
YAML
|
|
parameters:
|
|
name: ''
|
|
pool: ''
|
|
sign: false
|
|
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
displayName: Install python
|
|
inputs:
|
|
versionSpec: '$(python.version)'
|
|
condition: ne(variables['python.version'], '')
|
|
|
|
- script: python -mpip install tox
|
|
displayName: Install tooling
|
|
|
|
- script: python -mtox -e "$(tox.env)"
|
|
displayName: "Run tests"
|
|
env:
|
|
AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID)
|
|
AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY)
|
|
AWS_DEFAULT_REGION: $(AWS_DEFAULT_REGION)
|