forked from dagster-io/dagster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
99 lines (99 loc) · 2.86 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
jobs:
- job: "dagster"
pool:
vmImage: "vs2017-win2016"
strategy:
matrix:
py27:
TOXENV: "py27-windows"
python.version: "2.7"
py35:
TOXENV: "py35-windows"
python.version: "3.5"
py36:
TOXENV: "py36-windows"
python.version: "3.6"
py37:
TOXENV: "py37-windows"
python.version: "3.7"
variables:
PYTHONLEGACYWINDOWSSTDIO: "1"
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "$(python.version)"
architecture: "x64"
- script: choco install vcpython27 --yes
condition: eq(variables['python.version'], '2.7')
displayName: "Install vcpython27"
- 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()