1
1
[tox]
2
2
envlist =
3
3
py3{8,9,10,11,12}-lint
4
- py3{8,9,10,11,12}-unit
4
+ py3{7, 8,9,10,11,12}-unit
5
5
py3{8,9,10,11,12}-bandit
6
6
py3{8,9,10,11,12}-mypy
7
7
py311-lintreadme
@@ -16,6 +16,7 @@ testpaths = tests
16
16
17
17
[gh-actions]
18
18
python =
19
+ 3.7: py37
19
20
3.8: py38
20
21
3.9: py39
21
22
3.10: py310
@@ -24,10 +25,10 @@ python =
24
25
25
26
[testenv]
26
27
skipsdist =
27
- py3{8,9,10,11,12}-!{unit,mypy,lintreadme} = True
28
+ py3{7, 8,9,10,11,12}-!{unit,mypy,lintreadme} = True
28
29
29
30
description =
30
- py3{8,9,10,11,12}-unit: Run the unit tests
31
+ py3{7, 8,9,10,11,12}-unit: Run the unit tests
31
32
py3{8,9,10,11,12}-lint: Lint the Python code
32
33
py3{8,9,10,11,12}-bandit: Search for common security issues
33
34
py3{8,9,10,11,12}-mypy: Check for type safety
@@ -41,11 +42,11 @@ passenv =
41
42
PROOT_NO_SECCOMP
42
43
43
44
extras =
44
- py3{8,9,10,11,12}-unit: deps
45
+ py3{7, 8,9,10,11,12}-unit: deps
45
46
46
47
deps =
47
- py3{8,9,10,11,12}-{unit,lint,bandit,mypy}: -rrequirements.txt
48
- py3{8,9,10,11,12}-{unit,mypy}: -rtest-requirements.txt
48
+ py3{7, 8,9,10,11,12}-{unit,lint,bandit,mypy}: -rrequirements.txt
49
+ py3{7, 8,9,10,11,12}-{unit,mypy}: -rtest-requirements.txt
49
50
py3{8,9,10,11,12}-lint: -rlint-requirements.txt
50
51
py3{8,9,10,11,12}-bandit: bandit
51
52
py3{8,9,10,11,12}-bandit: importlib_metadata != 4.8.0
@@ -57,14 +58,14 @@ deps =
57
58
py311-lintreadme: readme_renderer[rst]
58
59
59
60
setenv =
60
- py3{8,9,10,11,12}-unit: LC_ALL = C.UTF-8
61
+ py3{7, 8,9,10,11,12}-unit: LC_ALL = C.UTF-8
61
62
62
63
commands_pre =
63
- py3{8,9,10,11,12}-unit: python -m pip install -U pip setuptools wheel
64
+ py3{7, 8,9,10,11,12}-unit: python -m pip install -U pip setuptools wheel
64
65
py311-lintreadme: python -m build --outdir {distdir}
65
66
66
67
commands =
67
- py3{8,9,10,11,12}-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
68
+ py3{7, 8,9,10,11,12}-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
68
69
py3{8,9,10,11,12}-bandit: bandit -r cwltool
69
70
py3{8,9,10,11,12}-lint: make flake8 format-check codespell-check
70
71
py3{8,9,10,11,12}-mypy: make mypy PYTEST_EXTRA ={posargs}
@@ -74,6 +75,6 @@ commands =
74
75
py311-lintreadme: twine check {distdir}/*
75
76
76
77
skip_install =
77
- py3{8,9,10,11,12}-{bandit,lint,mypy,shellcheck,pydocstyle,lintreadme}: true
78
+ py3{7, 8,9,10,11,12}-{bandit,lint,mypy,shellcheck,pydocstyle,lintreadme}: true
78
79
79
80
allowlist_externals = make
0 commit comments