-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
54 lines (41 loc) · 960 Bytes
/
Copy pathMakefile
File metadata and controls
54 lines (41 loc) · 960 Bytes
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
SHELL := /bin/bash
all: test
setup:
@echo "Running setup"
uv sync
format:
uv run ruff format hex*
update:
@echo "Running setup"
uv sync
lock:
@echo "Running setup"
uv lock --upgrade
build:
@echo "Building package"
uv build
truth:
@echo "Generating source of truth"
uv sync --group truth
uv run python tests/data/generate_source_of_truth.py
speed_test:
@echo "Running Speed tests"
uv sync --group speed_tests
uv run python benchmarks/speed_tests/run_speed_tests.py
new-test-candles:
@echo "Generating New Source data"
uv sync --group truth
uv run python tests/data/generate_new_data.py
test:
@echo "Running Tests"
uv run pytest -vv --cov=hexital --durations=0
test-all:
@echo "Running Tests"
uv run coverage run --omit="tests/*" -m pytest -vv --durations=0
uv run coverage report -m
profile:
uv run python3 benchmarks/profiling/profile_tests.py
uv run snakeviz prof/
docs:
@echo "Generating Docs"
uv sync --group docs