1
+ # This file encodes a lot of our intended support range, as well as some
2
+ # details about dependency availability.
3
+ #
4
+ # The majority of the information is contained in tox.envlist and testenv.deps.
1
5
[tox]
2
6
requires =
3
7
tox>=4
@@ -16,6 +20,7 @@ envlist =
16
20
typecheck
17
21
skip_missing_interpreters = true
18
22
23
+ # Configuration that allows us to split tests across GitHub runners effectively
19
24
[gh-actions]
20
25
python =
21
26
3.8: py38
@@ -35,14 +40,8 @@ ARCH =
35
40
x64: x64
36
41
x86: x86
37
42
38
- CHECK =
39
- build: build
40
- doctest: doctest
41
- style: style
42
- typecheck: typecheck
43
-
44
43
[testenv]
45
- description = Typical pytest invocation with coverage
44
+ description = Pytest with coverage
46
45
labels = test
47
46
install_command =
48
47
python -I -m pip install \
@@ -96,7 +95,7 @@ commands =
96
95
--pyargs nibabel {posargs:-n auto}
97
96
98
97
[testenv:install]
99
- description = " Install and verify imports succeed "
98
+ description = Install and verify import succeeds
100
99
labels = test
101
100
deps =
102
101
extras =
@@ -105,15 +104,15 @@ commands =
105
104
python -c " import nibabel; print(nibabel.__version__)"
106
105
107
106
[testenv:docs]
108
- description = Typical pytest invocation with coverage
107
+ description = Build documentation site
109
108
labels = docs
110
109
allowlist_externals = make
111
110
extras = doc
112
111
commands =
113
112
make -C doc html
114
113
115
114
[testenv:doctest]
116
- description = Typical pytest invocation with coverage
115
+ description = Run doctests in documentation site
117
116
labels = docs
118
117
allowlist_externals = make
119
118
extras =
0 commit comments