-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
42 lines (39 loc) · 1.08 KB
/
tox.ini
File metadata and controls
42 lines (39 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = py{311,312}-{linux,macos}
isolated_build=true
[gh-actions]
python =
3.11: py311
3.12: py312
[gh-actions:env]
PLATFORM =
ubuntu-latest: linux
macos-latest: macos
[testenv]
setenv =
PYTHONPATH = {toxinidir}/src
platform =
macos: darwin
linux: linux
passenv =
CI
GITHUB_ACTIONS
DISPLAY
XAUTHORITY
NUMPY_EXPERIMENTAL_ARRAY_FUNCTION
PYVISTA_OFF_SCREEN
QT_QPA_PLATFORM
MPLBACKEND
PYTHONUNBUFFERED
PYTHONDONTWRITEBYTECODE
extras =
testing
deps =
# Additional test dependencies beyond what's in [project.optional-dependencies.testing]
# pytest-qt is already in testing extras, but listed here for explicitness
pytest-qt
commands =
# Run full test suite but skip slow tests (e.g., heavy Spotiflow detection) on all platforms by default.
# Additional markers/selection can be passed via 'tox -e py311-linux -- -m "not slow" -k something'
pytest --cov=napari_tmidas --cov-report=xml --timeout=300 -m "not slow" -v {posargs}