File tree 3 files changed +13
-11
lines changed 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 35
35
- stage : examples
36
36
{%- for example in ['src', 'adhoc'] %}{{ '' }}
37
37
{%+ if not loop.first %}- {% else %} {% endif -%}
38
- python : ' 3.6 '
38
+ python : ' 3.8 '
39
39
script : cd $TARGET; tox -v
40
40
env :
41
41
- TARGET=examples/{{ example }}-layout
Original file line number Diff line number Diff line change 1
1
[tox]
2
- envlist = clean,py27,py36 ,report
2
+ envlist = clean,py27,py38 ,report
3
3
4
4
[tool:pytest]
5
5
addopts =
@@ -10,21 +10,22 @@ commands = pytest --cov --cov-append --cov-config={toxinidir}/.coveragerc {posar
10
10
deps =
11
11
pytest
12
12
pytest-cov
13
+ coverage<5
13
14
depends =
14
- {py27,py36 }: clean
15
- report: py27,py36
15
+ {py27,py38 }: clean
16
+ report: py27,py38
16
17
17
18
# note that this is necessary to prevent the tests importing the code from your badly laid project
18
19
changedir = tests
19
20
20
21
[testenv:report]
21
22
skip_install = true
22
- deps = coverage
23
+ deps = coverage<5
23
24
commands =
24
25
coverage html
25
26
coverage report --fail-under =100
26
27
27
28
[testenv:clean]
28
29
skip_install = true
29
- deps = coverage
30
+ deps = coverage<5
30
31
commands = coverage erase
Original file line number Diff line number Diff line change 1
1
[tox]
2
- envlist = clean,py27,py36 ,report
2
+ envlist = clean,py27,py38 ,report
3
3
4
4
[tool:pytest]
5
5
testpaths = tests
@@ -11,18 +11,19 @@ commands = pytest --cov --cov-append {posargs:-vv}
11
11
deps =
12
12
pytest
13
13
pytest-cov
14
+ coverage<5
14
15
depends =
15
- {py27,py36 }: clean
16
- report: py27,py36
16
+ {py27,py38 }: clean
17
+ report: py27,py38
17
18
18
19
[testenv:report]
19
20
skip_install = true
20
- deps = coverage
21
+ deps = coverage<5
21
22
commands =
22
23
coverage html
23
24
coverage report --fail-under =100
24
25
25
26
[testenv:clean]
26
27
skip_install = true
27
- deps = coverage
28
+ deps = coverage<5
28
29
commands = coverage erase
You can’t perform that action at this time.
0 commit comments