-
Notifications
You must be signed in to change notification settings - Fork 513
/
tox.ini
33 lines (28 loc) · 696 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
[tox]
envlist = darwin, linux
[testenv]
deps =
-r requirements.txt
-r requirements-optional.txt
-r mlx_examples/requirements.txt
commands =
make test-all extra_args="--ignore=corenet/internal --ignore=tests/internal --ignore=experimental"
allowlist_externals = make
[testenv:darwin]
platform = darwin
# Use Python 3.9 on macOS (Mac OS 14.4 system Python version)
basepython = python3.9
setenv =
DYLD_LIBRARY_PATH=/opt/homebrew/lib
deps =
{[testenv]deps}
commands =
{[testenv]commands}
[testenv:linux]
platform = linux
# Use Python 3.10 on Linux (Ubuntu 22.04 system Python version)
basepython = python3.10
deps =
{[testenv]deps}
commands =
{[testenv]commands}