Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6cd7419

Browse files
authored
Merge pull request #15418 from dstansby/azure-test
CI: Use correct pip/pytest on azure
2 parents 901e585 + 722eac5 commit 6cd7419

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/azure-pipelines-steps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,20 @@ steps:
4949
5050
- bash: |
5151
python -m pip install --upgrade pip
52-
pip install -r requirements/testing/travis_all.txt -r requirements/testing/travis36.txt ||
52+
python -m pip install -r requirements/testing/travis_all.txt -r requirements/testing/travis36.txt ||
5353
[[ "$PYTHON_VERSION" = 'Pre' ]]
5454
displayName: 'Install dependencies with pip'
5555

5656
- bash: |
57-
MPLLOCALFREETYPE=1 pip install -ve . ||
57+
MPLLOCALFREETYPE=1 python -m pip install -ve . ||
5858
[[ "$PYTHON_VERSION" = 'Pre' ]]
5959
displayName: "Install self"
6060

6161
- script: env
6262
displayName: 'print env'
6363

6464
- bash: |
65-
PYTHONFAULTHANDLER=1 pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2 ||
65+
PYTHONFAULTHANDLER=1 python -m pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2 ||
6666
[[ "$PYTHON_VERSION" = 'Pre' ]]
6767
displayName: 'pytest'
6868

0 commit comments

Comments
 (0)