-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtox.ini
54 lines (48 loc) · 1.36 KB
/
tox.ini
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
43
44
45
46
47
48
49
50
51
52
53
54
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = pip-py{310,311,312,313}-{PyQt5,PyQt6,PySide6}-napari_{latest,repo}, conda-{py310,py311,py312}-{PyQt5,PySide2,PySide6}-napari_{latest,repo}
toxworkdir=/tmp/.tox
isolated_build = true
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[gh-actions:env]
NAPARI =
latest: napari_latest
repo: napari_repo
TOOL =
pip: pip
conda: conda
[testenv]
passenv =
QT_API
CI
GITHUB_ACTIONS
AZURE_PIPELINES
DISPLAY
XAUTHORITY
NUMPY_EXPERIMENTAL_ARRAY_FUNCTION
PYVISTA_OFF_SCREEN
deps =
napari_repo: git+https://github.com/napari/napari.git
extras = testing
commands = coverage run --parallel-mode -m pytest -v --color=yes
# Conditional PIP dependencies based on environment variables
[testenv:pip-{py310,py311,py312,py313}-{PyQt5,PyQt6,PySide6}-napari_{latest,repo}]
deps =
PyQt5: PyQt5
PyQt5: PyQt5-sip
PyQt6: PyQt6
{py310,py311}-PySide6: PySide6 == 6.4.2
napari_latest: napari
napari_repo: git+https://github.com/napari/napari.git
# Conditional dependencies for CONDA
[testenv:conda-{py310,py311,py312}-{PyQt5,PySide2,PySide6}-napari_{latest,repo}]
conda_deps =
{py310,py311,py312}-PyQt5: pyqt
{py310,py311}-PySide2: pyside2
{py310,py311}-PySide6: pyside6 = 6.4.2
napari_latest: napari