Skip to content

Commit ae7ed9a

Browse files
authored
Merge pull request #8766 from McSinyx/test-req-new-resolver
2 parents a3fd424 + 15e5680 commit ae7ed9a

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

.azure-pipelines/steps/run-tests-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ steps:
4343
# https://bugs.python.org/issue18199
4444
$env:TEMP = "R:\Temp"
4545
46-
tox -e py -- -m integration -n auto --duration=5 --junit-xml=junit/integration-test.xml
46+
tox -e py -- -m integration -n auto --durations=5 --junit-xml=junit/integration-test.xml
4747
displayName: Tox run integration tests
4848
4949
- task: PublishTestResults@2

.azure-pipelines/steps/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ steps:
1111
displayName: Tox run unit tests
1212

1313
# Run integration tests in two groups so we will fail faster if there is a failure in the first group
14-
- script: tox -e py -- -m integration -n auto --duration=5 -k "not test_install" --junit-xml=junit/integration-test-group0.xml
14+
- script: tox -e py -- -m integration -n auto --durations=5 -k "not test_install" --junit-xml=junit/integration-test-group0.xml
1515
displayName: Tox run Group 0 integration tests
1616

17-
- script: tox -e py -- -m integration -n auto --duration=5 -k "test_install" --junit-xml=junit/integration-test-group1.xml
17+
- script: tox -e py -- -m integration -n auto --durations=5 -k "test_install" --junit-xml=junit/integration-test-group1.xml
1818
displayName: Tox run Group 1 integration tests
1919

2020
- task: PublishTestResults@2

news/946beace-6164-4d1a-a05d-e9bebf43ccd0.trivial

Whitespace-only changes.

tools/requirements/tests.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1+
--use-feature=2020-resolver
12
cryptography==2.8
23
csv23
34
enum34; python_version < '3.4'
45
freezegun
56
mock
67
pretend
7-
# pytest 5.x only supports python 3.5+
8-
pytest<5.0.0
8+
pytest
99
pytest-cov
10-
# Prevent installing 9.0 which has install_requires "pytest >= 5.0".
11-
pytest-rerunfailures<9.0
10+
pytest-rerunfailures
1211
pytest-timeout
1312
pytest-xdist
1413
pyyaml
15-
setuptools>=39.2.0 # Needed for `setuptools.wheel.Wheel` support.
1614
scripttest
15+
setuptools>=39.2.0 # Needed for `setuptools.wheel.Wheel` support.
1716
https://github.com/pypa/virtualenv/archive/legacy.zip#egg=virtualenv
1817
werkzeug==0.16.0
1918
wheel

tools/travis/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ if [[ "$GROUP" == "1" ]]; then
4949
# Unit tests
5050
tox -- --use-venv -m unit -n auto
5151
# Integration tests (not the ones for 'pip install')
52-
tox -- -m integration -n auto --duration=5 -k "not test_install" \
52+
tox -- -m integration -n auto --durations=5 -k "not test_install" \
5353
--use-venv $RESOLVER_SWITCH
5454
elif [[ "$GROUP" == "2" ]]; then
5555
# Separate Job for running integration tests for 'pip install'
56-
tox -- -m integration -n auto --duration=5 -k "test_install" \
56+
tox -- -m integration -n auto --durations=5 -k "test_install" \
5757
--use-venv $RESOLVER_SWITCH
5858
elif [[ "$GROUP" == "3" ]]; then
5959
# Separate Job for tests that fail with the new resolver
60-
tox -- -m fails_on_new_resolver -n auto --duration=5 \
60+
tox -- -m fails_on_new_resolver -n auto --durations=5 \
6161
--use-venv $RESOLVER_SWITCH --new-resolver-runtests
6262
else
6363
# Non-Testing Jobs should run once

0 commit comments

Comments
 (0)