-
Notifications
You must be signed in to change notification settings - Fork 31
/
tox.ini
38 lines (35 loc) · 1.61 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
[tox]
# Default tox environment when run without `-e`
envlist = py38, py39, py310, py311, py312
# https://tox.readthedocs.io/en/latest/config.html#conf-requires
# Ensure pip is new so we can install manylinux wheel
requires = pip >= 19.0.0
virtualenv >= 16.0.0
[testenv]
deps =
setuptools
pre-commit
numpy>=1.9,<2
pytest
PyYAML
tables
# https://github.com/pytest-dev/pytest-xdist/issues/585
pytest-xdist < 2
restructuredtext-lint
https://github.com/ome/zeroc-ice-py-github-ci/releases/download/0.2.0/zeroc_ice-3.6.5-cp38-cp38-linux_x86_64.whl; platform_system=="Linux" and python_version=="3.8"
https://github.com/ome/zeroc-ice-py-github-ci/releases/download/0.2.0/zeroc_ice-3.6.5-cp39-cp39-linux_x86_64.whl; platform_system=="Linux" and python_version=="3.9"
https://github.com/ome/zeroc-ice-py-github-ci/releases/download/0.2.0/zeroc_ice-3.6.5-cp310-cp310-linux_x86_64.whl; platform_system=="Linux" and python_version=="3.10"
https://github.com/glencoesoftware/zeroc-ice-py-linux-x86_64/releases/download/20240202/zeroc_ice-3.6.5-cp311-cp311-manylinux_2_28_x86_64.whl; platform_system=="Linux" and python_version=="3.11"
https://github.com/glencoesoftware/zeroc-ice-py-linux-x86_64/releases/download/20240202/zeroc_ice-3.6.5-cp312-cp312-manylinux_2_28_x86_64.whl; platform_system=="Linux" and python_version=="3.12"
setenv =
OMERODIR = {toxinidir}
DJANGO_SETTINGS_MODULE = omeroweb.settings
PYTHONPATH = {toxinidir}
passenv =
ICE_CONFIG
PIP_CACHE_DIR
commands =
pre-commit run --all-files
rst-lint README.rst
pip install .
pytest {posargs:-rf}