-
Notifications
You must be signed in to change notification settings - Fork 11
/
tox.ini
32 lines (31 loc) · 1.46 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
[tox]
# https://tox.readthedocs.io/en/latest/config.html#conf-requires
# Ensure pip is new enough
requires = pip >= 19.0.0
virtualenv >= 16.0.0
[testenv]
# For environment markers see
# https://www.python.org/dev/peps/pep-0508/#environment-markers
allowlist_externals = sh
deps =
flake8
omero-py
pytest-rerunfailures
pytest-xdist
restructuredtext-lint
setuptools
wheel
build
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"
commands =
rst-lint README.rst
flake8 .
python -c 'import omero.clients; import omero_marshal.encode'
pytest {posargs:-n4 -rf tests -s}
sh -c 'cat files.txt | xargs rm -rf'
python -m build
sh -c 'pip install --force-reinstall dist/*.whl'
python -c 'import omero.clients; import omero_marshal.encode'