File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ def sauce_credentials(sauce_username, sauce_key):
225
225
if args .nounit :
226
226
print ('Not running unit tests.' )
227
227
else :
228
- rc = subprocess .call ([interpreter , UNIT_TEST_RUNNER ])
228
+ rc = subprocess .call ([interpreter , UNIT_TEST_RUNNER ], shell = ( os . name == 'nt' ) )
229
229
if rc != 0 :
230
230
print ('Not running acceptance test, because unit tests failed.' )
231
231
sys .exit (rc )
Original file line number Diff line number Diff line change 25
25
robot.options : ' --xunit results.xml --xunitskipnoncritical --dotted'
26
26
python.version : ' 3.7'
27
27
maxParallel : 3
28
-
28
+
29
+ steps :
29
30
- task : PythonScript@0
30
31
inputs :
31
32
url : ' http://selenium-release.storage.googleapis.com/3.141/IEDriverServer_Win32_3.141.0.zip'
40
41
destinationFolder : $(Build.SourcesDirectory)
41
42
# cleanDestinationFolder: true
42
43
displayName : ' Extract IeDriverServer'
43
- variables :
44
44
Path : $(Build.SourcesDirectory);$(Path)
45
45
46
- steps :
47
- - script : echo Path is $(Path)
48
-
49
- steps :
50
- - task : UsePythonVersion@1
46
+ - task : UsePythonVersion@0
51
47
inputs :
52
48
versionSpec : ' $(python.version)'
53
49
architecture : ' x64'
@@ -56,10 +52,10 @@ jobs:
56
52
displayName : ' Install dependencies'
57
53
58
54
- script : |
59
- python atest/run.py $(browser) --interpreter ' python$(python.version)' $(robot.options)
55
+ python atest/run.py $(browser) --interpreter python $(robot.options)
60
56
displayName: 'acceptance tests'
61
57
62
- - task : PublishTestResults@2
58
+ - task : PublishTestResults@0
63
59
inputs :
64
60
testResultsFiles : ' **/atest/results/results.xml'
65
61
testRunTitle : ' Python $(python.version)'
You can’t perform that action at this time.
0 commit comments