Skip to content

Commit f87f7b4

Browse files
committed
CI: don't use pip or pytest CLI on azure
use python -m to make sure we have the right one!
1 parent 6df091f commit f87f7b4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ci/azure-pipelines-steps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ steps:
6363
- script: |
6464
6565
python -m pip install --upgrade pip
66-
pip install -r requirements/testing/travis_all.txt -r requirements/testing/travis36.txt
66+
python -m pip install -r requirements/testing/travis_all.txt -r requirements/testing/travis36.txt
6767
6868
displayName: 'Install dependencies with pip'
6969

7070
- script: |
7171
72-
pip install -ve .
72+
python -m pip install -ve .
7373
7474
displayName: "Install self"
7575
env:
@@ -80,7 +80,7 @@ steps:
8080

8181
- script: |
8282
env
83-
pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2
83+
python -m pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2
8484
displayName: 'pytest'
8585
env:
8686
PYTHONFAULTHANDLER: 1

0 commit comments

Comments
 (0)