File tree 2 files changed +39
-0
lines changed
docs/sphinx/source/whatsnew 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,43 @@ trigger:
6
6
7
7
jobs :
8
8
9
+ - job : ' Test_bare_linux'
10
+
11
+ pool :
12
+ vmImage : ' ubuntu-16.04'
13
+ strategy :
14
+ matrix :
15
+ Python35 :
16
+ python.version : ' 3.5'
17
+ Python36 :
18
+ python.version : ' 3.6'
19
+ Python37 :
20
+ python.version : ' 3.7'
21
+
22
+ steps :
23
+ - task : UsePythonVersion@0
24
+ inputs :
25
+ versionSpec : ' $(python.version)'
26
+
27
+ - script : |
28
+ pip install pytest pytest-cov pytest-mock pytest-timeout pytest-azurepipelines
29
+ pip install -e .
30
+ pytest pvlib --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
31
+ displayName: 'Test with pytest'
32
+
33
+ - task : PublishTestResults@2
34
+ condition : succeededOrFailed()
35
+ inputs :
36
+ testResultsFiles : ' **/test-*.xml'
37
+ testRunTitle : ' Publish test results for Python $(python.version)'
38
+
39
+ - task : PublishCodeCoverageResults@1
40
+ inputs :
41
+ codeCoverageTool : Cobertura
42
+ summaryFileLocation : ' $(System.DefaultWorkingDirectory)/**/coverage.xml'
43
+ reportDirectory : ' $(System.DefaultWorkingDirectory)/**/htmlcov'
44
+
45
+
9
46
- job : ' Test_conda_linux'
10
47
11
48
pool :
Original file line number Diff line number Diff line change @@ -129,6 +129,8 @@ Testing
129
129
in NSRDB (:issue: `733 `)
130
130
* Added tests for methods in bifacial.py.
131
131
* Added tests for changes to cell temperature models.
132
+ * Add tests configuration for bare python environment (no conda).
133
+ (:issue: `727 `)
132
134
* Added tests for changes to IAM models.
133
135
* Added test for `ModelChain.infer_aoi_model `.
134
136
You can’t perform that action at this time.
0 commit comments