Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
95 lines (94 sloc) 2.62 KB
jobs:
- job: 'dagster'
pool:
vmImage: 'vs2017-win2016'
strategy:
matrix:
py27:
TOXENV: 'py27'
python.version: '2.7'
py35:
TOXENV: 'py35'
python.version: '3.5'
py36:
TOXENV: 'py36'
python.version: '3.6'
py37:
TOXENV: 'py37'
python.version: '3.7'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'
- script: pip install tox
displayName: 'Install tox'
- script: cd python_modules\dagster && tox -e %TOXENV% && cd ..\..
displayName: 'Run tests'
- task: PublishTestResults@2
inputs:
testResultsFiles: '**/test_results.xml'
testRunTitle: 'dagster $(TOXENV)'
condition: succeededOrFailed()
# - job: 'dagit'
# pool:
# vmImage: 'vs2017-win2016'
# strategy:
# matrix:
# # py27:
# # TOXENV: 'py27'
# # python.version: '2.7'
# py35:
# TOXENV: 'py35'
# python.version: '3.5'
# py36:
# TOXENV: 'py36'
# python.version: '3.6'
# py37:
# TOXENV: 'py37'
# python.version: '3.7'
# steps:
# - task: UsePythonVersion@0
# inputs:
# versionSpec: '$(python.version)'
# architecture: 'x64'
# - script: pip install tox
# displayName: 'Install tox'
# - script: cd python_modules\dagit && tox -e %TOXENV% && cd ..\..
# displayName: 'Run tests'
# - task: PublishTestResults@2
# inputs:
# testResultsFiles: '**/dagit_test_results.xml'
# testRunTitle: 'dagit $(TOXENV)'
# condition: succeededOrFailed()
# - job: 'dagstermill'
# pool:
# vmImage: 'vs2017-win2016'
# strategy:
# matrix:
# # py27:
# # TOXENV: 'py27'
# # python.version: '2.7'
# py35:
# TOXENV: 'py35'
# python.version: '3.5'
# py36:
# TOXENV: 'py36'
# python.version: '3.6'
# py37:
# TOXENV: 'py37'
# python.version: '3.7'
# steps:
# - task: UsePythonVersion@0
# inputs:
# versionSpec: '$(python.version)'
# architecture: 'x64'
# - script: pip install tox
# displayName: 'Install tox'
# - script: cd python_modules\dagstermill && tox -e %TOXENV% && cd ..\..
# displayName: 'Run tests'
# - task: PublishTestResults@2
# inputs:
# testResultsFiles: '**/dagstermill_test_results.xml'
# testRunTitle: 'dagstermill $(TOXENV)'
# condition: succeededOrFailed()
You can’t perform that action at this time.