File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,17 @@ jobs:
61
61
versionSpec : $(python.version)
62
62
architecture : x64
63
63
-
64
- script : ' python -m pip install --upgrade pip && pip install -r test_requirements.txt && pip install pytest '
64
+ script : ' python -m pip install --upgrade pip && pip install -r test_requirements.txt'
65
65
displayName : ' Install mbed-os test dependencies'
66
66
-
67
67
script : |
68
68
pip install --user flake8==3.7.3
69
69
python -m flake8
70
70
condition : eq(variables['extraActions'], 'true')
71
71
displayName : ' Enforce code style'
72
+ -
73
+ script : ' pip install --user "urllib3<1.25"'
74
+ displayName : ' Fix dependency issue for requests package'
72
75
-
73
76
script : " python -m coverage run setup.py test"
74
77
displayName : " Test mbed-os-tools"
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def read(fname):
57
57
"six>=1.0,<2.0" ,
58
58
"colorama>=0.3,<0.5" ,
59
59
],
60
- tests_require = [ "mock>=2" , "pytest>=3" ] ,
60
+ tests_require = read ( "test_requirements.txt" ). splitlines () ,
61
61
extras_require = {
62
62
"pyocd" : ["pyocd==0.14.0" ]
63
63
},
Original file line number Diff line number Diff line change 1
- coverage
2
- coveralls
1
+ coverage>=4,<5
2
+ coveralls>=1,<2
3
+ mock>=2,<4
4
+ pytest>=3,<5
You can’t perform that action at this time.
0 commit comments