forked from RoboEden/jux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
40 lines (36 loc) · 833 Bytes
/
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
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = coverage_clean, py38, py39, py310, py311, lint, coverage_report
isolated_build = True
requires =
tox
tox-conda
[testenv]
conda_channels =
conda-forge
deps =
pytest>=3.0
pytest-cov
rich
chex
jax[cuda11_cudnn82]==0.4.7
extras = torch
install_command =
pip install -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html {opts} {packages}
commands =
coverage run --append --source jux -m pytest {posargs:tests}
[testenv:coverage_clean]
skip_install = true
commands = coverage erase
[testenv:coverage_report]
skip_install = true
commands = coverage report -m
[testenv:lint]
skip_install = true
deps =
yapf
toml
; pytype
commands =
yapf --diff -r jux tests
; pytype .