-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
40 lines (31 loc) · 883 Bytes
/
Makefile
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
test:
cd src ; pipenv run pytest -rxXs -m "not speed" ../tests/
test_speed:
cd src ; pipenv run pytest -rxXs -m "speed" \
--benchmark-compare=slowrun \
../tests/
# test_development:
# cd src ; pipenv run pytest \
# --log-cli-level INFO \
# -x \
# -rXxs \
# -m "not speed" ../tests/
test_development:
cd src ; pipenv run pytest \
--log-cli-level INFO \
-rXxs \
-k TestDisputeTrees ../tests/
# -x \ # add to stop in the first failure
# --log-cli-level INFO \
# --log-cli-level DEBUG \
# -k "test_inconsistent_with_default"
# -rxXs -m "not speed" ../tests/
# test_development:
# cd src ; pipenv run pytest --log-cli-level INFO \
# --log-format="%(asctime)s.%(msecs)03d %(levelname)s %(message)s" \
# -rxXPs --runxfail \
# -k scikit_learn \
# ../tests/
check_python_version:
which python
# check python version before running, e.g., if pipenv was activated