-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
35 lines (31 loc) · 870 Bytes
/
tox.ini
File metadata and controls
35 lines (31 loc) · 870 Bytes
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
[tox]
envlist = py{310,311,312,313,314},py{310,311}-dim, pre-commit, docs
[testenv]
extras = dev
commands =
coverage erase
coverage run -m pytest {posargs}
coverage combine --quiet
coverage report
[testenv:py{310,311}-dim]
allowlist_externals =
bash
timeout
deps =
pkgconfig
# pybind11 2.11.1 causes the py-mochi-margo build to fail
pybind11==2.10.4
git+https://github.com/rapidsai/ucx-py.git@v0.30.00
commands_pre =
python -m pip install git+https://github.com/mochi-hpc/py-mochi-margo.git@v0.5.2
commands =
pytest -k margo {posargs}
# UCX is unreliable and will hang in CI
bash -c "timeout 60 pytest -k ucx {posargs} || true"
[testenv:pre-commit]
skip_install = true
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:docs]
extras = docs
commands = mkdocs build --strict