-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtox.ini
More file actions
18 lines (16 loc) · 1.11 KB
/
tox.ini
File metadata and controls
18 lines (16 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# tox configuration file
[tox]
envlist = py39, py310, py311, py312, py313
[testenv]
deps = numpy
torch
numba
allowlist_externals = mpirun, env
commands = env RDMAV_FORK_SAFE=1 HWLOC_COMPONENTS=-gl python -m unittest discover tests
env RDMAV_FORK_SAFE=1 HWLOC_COMPONENTS=-gl mpirun -n 9 --oversubscribe python -m unittest tests.shared_obj_tests
env RDMAV_FORK_SAFE=1 HWLOC_COMPONENTS=-gl mpirun -n 9 --oversubscribe python -m unittest tests.shared_vl_tests
env RDMAV_FORK_SAFE=1 HWLOC_COMPONENTS=-gl mpirun -n 9 --oversubscribe python -m unittest tests.ctopo_tests
env RDMAV_FORK_SAFE=1 HWLOC_COMPONENTS=-gl mpirun -n 18 --oversubscribe python -m unittest tests.shared_obj_tests.SharedGridTests.test_buffer_data_3d
env RDMAV_FORK_SAFE=1 HWLOC_COMPONENTS=-gl mpirun -n 18 --oversubscribe python -m unittest tests.shared_obj_tests.SharedGridTests.test_buffer_data_3d_periodic
env RDMAV_FORK_SAFE=1 HWLOC_COMPONENTS=-gl mpirun -n 4 --oversubscribe python -m unittest tests.logging_tests
env RDMAV_FORK_SAFE=1 HWLOC_COMPONENTS=-gl mpirun -n 4 --oversubscribe python -m unittest tests.shared_network_tests