@@ -30,10 +30,10 @@ jobs:
30
30
- script : python -m pip install --upgrade pip && pip --version
31
31
displayName : ' Install/upgrade pip'
32
32
33
- - script : pip install seleniumbase
33
+ - script : python -m pip install seleniumbase
34
34
displayName : ' Verify install from PyPI'
35
35
36
- - script : pip install -r requirements.txt --upgrade
36
+ - script : python -m pip install -r requirements.txt --upgrade
37
37
displayName : ' Install dependencies'
38
38
39
39
- script : python setup.py install
@@ -53,13 +53,13 @@ jobs:
53
53
pytest nothing.py
54
54
displayName: 'Make sure pytest is working'
55
55
56
- - script : pytest examples/boilerplates/boilerplate_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
56
+ - script : python -m pytest examples/boilerplates/boilerplate_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
57
57
displayName : ' Run pytest boilerplate_test.py --browser=chrome --headless'
58
58
59
- - script : pytest examples/my_first_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
59
+ - script : python -m pytest examples/my_first_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
60
60
displayName : ' Run pytest my_first_test.py --browser=chrome --headless'
61
61
62
- - script : pytest examples/test_inspect_html.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
62
+ - script : python -m pytest examples/test_inspect_html.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
63
63
displayName : ' Run pytest test_inspect_html.py --browser=chrome --headless'
64
64
65
65
- task : PublishTestResults@2
0 commit comments