File tree 5 files changed +10
-11
lines changed
5 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 43
43
# https://bugs.python.org/issue18199
44
44
$env:TEMP = "R:\Temp"
45
45
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
47
47
displayName: Tox run integration tests
48
48
49
49
- task : PublishTestResults@2
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ steps:
11
11
displayName : Tox run unit tests
12
12
13
13
# 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
15
15
displayName : Tox run Group 0 integration tests
16
16
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
18
18
displayName : Tox run Group 1 integration tests
19
19
20
20
- task : PublishTestResults@2
Original file line number Diff line number Diff line change
1
+ --use-feature=2020-resolver
1
2
cryptography==2.8
2
3
csv23
3
4
enum34; python_version < '3.4'
4
5
freezegun
5
6
mock
6
7
pretend
7
- # pytest 5.x only supports python 3.5+
8
- pytest<5.0.0
8
+ pytest
9
9
pytest-cov
10
- # Prevent installing 9.0 which has install_requires "pytest >= 5.0".
11
- pytest-rerunfailures<9.0
10
+ pytest-rerunfailures
12
11
pytest-timeout
13
12
pytest-xdist
14
13
pyyaml
15
- setuptools>=39.2.0 # Needed for `setuptools.wheel.Wheel` support.
16
14
scripttest
15
+ setuptools>=39.2.0 # Needed for `setuptools.wheel.Wheel` support.
17
16
https://github.com/pypa/virtualenv/archive/legacy.zip#egg=virtualenv
18
17
werkzeug==0.16.0
19
18
wheel
Original file line number Diff line number Diff line change @@ -49,15 +49,15 @@ if [[ "$GROUP" == "1" ]]; then
49
49
# Unit tests
50
50
tox -- --use-venv -m unit -n auto
51
51
# 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" \
53
53
--use-venv $RESOLVER_SWITCH
54
54
elif [[ " $GROUP " == " 2" ]]; then
55
55
# 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" \
57
57
--use-venv $RESOLVER_SWITCH
58
58
elif [[ " $GROUP " == " 3" ]]; then
59
59
# 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 \
61
61
--use-venv $RESOLVER_SWITCH --new-resolver-runtests
62
62
else
63
63
# Non-Testing Jobs should run once
You can’t perform that action at this time.
0 commit comments