-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
107 lines (98 loc) · 2.54 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[tox]
env_list =
formatting-and-linting-py310
hdbo-base-py310
hdbo-ax-py310
hdbo-baxus-py310
hdbo-alebo-py310
minversion = 4.10.0
[testenv]
description = run the tests with pytest
package = wheel
wheel_build_env = .pkg
setenv =
PIP_EXTRA_INDEX_URL=https://download.pytorch.org/whl/cpu
deps =
pytest>=6
commands =
pytest {tty:--color=yes} -v {posargs}
[testenv:formatting-and-linting-py310]
description = run the tests with pytest on the hdbo_benchmark env
basepython = python3.10
wheel_build_env = .pkg
deps=
black
isort
ruff
commands=
black --check --diff .
ruff check
[testenv:hdbo-base-py310]
description = run the tests with pytest on the hdbo_benchmark env
basepython = python3.10
wheel_build_env = .pkg
deps=
{[testenv]deps}
-e.
poli-core[ehrlich,tdc]@git+https://github.com/MachineLearningLifeScience/poli.git
commands=
{[testenv]commands} -m "hdbo_base"
[testenv:hdbo-ax-py310]
description = run the tests with pytest on the ax env
basepython = python3.10
wheel_build_env = .pkg
deps=
{[testenv]deps}
-e.[ax]
poli-core[ehrlich,tdc]@git+https://github.com/MachineLearningLifeScience/poli.git
commands=
{[testenv]commands} -m "hdbo_ax"
[testenv:hdbo-baxus-py310]
description = run the tests with pytest on the BAxUS env
basepython = python3.10
wheel_build_env = .pkg
deps=
{[testenv]deps}
-e.[baxus]
poli-core[tdc]@git+https://github.com/MachineLearningLifeScience/poli.git
commands=
{[testenv]commands} -m "hdbo_baxus"
[testenv:hdbo-alebo-py310]
description = run the tests with pytest on the alebo env
basepython = python3.10
wheel_build_env = .pkg
deps=
{[testenv]deps}
-e.[alebo]
commands=
{[testenv]commands} -m "hdbo_alebo"
[testenv:hdbo-bounce-py310]
description = run the tests with pytest on the bounce env
basepython = python3.10
wheel_build_env = .pkg
deps=
{[testenv]deps}
-e.[bounce]
poli-core[tdc]@git+https://github.com/MachineLearningLifeScience/poli.git
commands=
{[testenv]commands} -m "hdbo_bounce"
[testenv:hdbo-pr-py310]
description = run the tests with pytest on the pr env
basepython = python3.10
wheel_build_env = .pkg
deps=
{[testenv]deps}
-e.[pr]
poli-core[tdc]@git+https://github.com/MachineLearningLifeScience/poli.git
commands=
{[testenv]commands} -m "hdbo_pr"
[testenv:hdbo-lambo2-py310]
description = run the tests with pytest on the LaMBO2 env
basepython = python3.10
wheel_build_env = .pkg
deps=
{[testenv]deps}
-e.[lambo2]
poli-core[ehrlich,tdc]
commands=
{[testenv]commands} -m "hdbo_lambo2"