-
Notifications
You must be signed in to change notification settings - Fork 9
/
tox.ini
68 lines (54 loc) · 1.25 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
[tox]
envlist = py{37,38,39,310}-{linux,windows}, py{38,39,310}-macos
requires = tox-conda
skipsdist = True
[pytest]
addopts = -m 'not bman and not trackml and not trackml_1 and not very_slow'
markers =
very_slow: very slow tests, mostly on bigger trackml datasets
slow: slow tests (deselect with '-m "not slow"')
bman: test that require the full BM@N example dataset in /data
trackml: tests that require the 100-event TrackML training sample
trackml_1: tests that require the first part of the full Trackml training dataset
[testenv]
commands =
pytest {posargs}
platform =
linux: linux
macos: darwin
windows: win32
conda_env =
linux,windows: environment.yml
macos: env-osx-arm64.yml
conda_channels = conda-forge
conda_install_args = --override-channels
conda_deps =
pandas
numpy
scipy
scikit-learn
tqdm
pathos
py-cpuinfo
jupyter
jupyterlab
seaborn
holoviews
bokeh
matplotlib
plotly
vispy
jupyter-rfb
pillow
pyglfw
memory_profiler
line_profiler
pytest
pytest-cov
pip
linux,windows: hpbandster
deps =
nb-clean
line-profiler-pycharm
git+https://github.com/LAL/trackml-library@master#egg=trackml
macos: hpbandster