File tree Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,43 @@ jobs:
134
134
testRunTitle : ' Windows $(python.version)'
135
135
136
136
137
+ - job : ' Test_bare_macOS_Mojave'
138
+
139
+ pool :
140
+ vmImage : ' macOS-10.14'
141
+ strategy :
142
+ matrix :
143
+ Python35 :
144
+ python.version : ' 3.5'
145
+ Python36 :
146
+ python.version : ' 3.6'
147
+ Python37 :
148
+ python.version : ' 3.7'
149
+
150
+ steps :
151
+ - task : UsePythonVersion@0
152
+ inputs :
153
+ versionSpec : ' $(python.version)'
154
+
155
+ - script : |
156
+ pip install pytest pytest-cov pytest-mock pytest-timeout pytest-azurepipelines
157
+ pip install -e .
158
+ pytest pvlib/test --junitxml=junit/test-results.xml --cov=pvlib --cov-report=xml --cov-report=html
159
+ displayName: 'Test with pytest'
160
+
161
+ - task : PublishTestResults@2
162
+ condition : succeededOrFailed()
163
+ inputs :
164
+ testResultsFiles : ' **/test-*.xml'
165
+ testRunTitle : ' Publish test results for Python $(python.version)'
166
+
167
+ - task : PublishCodeCoverageResults@1
168
+ inputs :
169
+ codeCoverageTool : Cobertura
170
+ summaryFileLocation : ' $(System.DefaultWorkingDirectory)/**/coverage.xml'
171
+ reportDirectory : ' $(System.DefaultWorkingDirectory)/**/htmlcov'
172
+
173
+
137
174
- job : ' Publish'
138
175
dependsOn : ' Test_conda_linux'
139
176
pool :
@@ -146,4 +183,4 @@ jobs:
146
183
architecture : ' x64'
147
184
148
185
- script : python setup.py sdist
149
- displayName : ' Build sdist'
186
+ displayName : ' Build sdist'
You can’t perform that action at this time.
0 commit comments