-
Notifications
You must be signed in to change notification settings - Fork 245
Expand file tree
/
Copy pathMakefile
More file actions
57 lines (38 loc) · 1.19 KB
/
Copy pathMakefile
File metadata and controls
57 lines (38 loc) · 1.19 KB
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
PYTHON ?= python3
.PHONY: install install-dev test lint format format-check test-ci-contract security supply-chain agent-smoke ops-audit paper-status paper-health paper-ops paper-start paper-stop monitor verify
install:
$(PYTHON) -m pip install -c constraints.txt -e .
install-dev:
$(PYTHON) -m pip install -c constraints.txt -e ".[dev]"
test:
PYTHONPATH=src $(PYTHON) -m pytest -q
lint:
PYTHONPATH=src $(PYTHON) -m ruff check src tests
format:
$(PYTHON) -m ruff format src tests scripts
format-check:
$(PYTHON) -m ruff format --check src tests scripts
test-ci-contract:
$(PYTHON) scripts/validate_testing_ci_contract.py
security:
bash scripts/security-scan.sh
supply-chain:
bash scripts/supply-chain-audit.sh
agent-smoke:
bash scripts/agent-smoke.sh
ops-audit:
$(PYTHON) scripts/ops-audit.py --json
paper-status:
bash scripts/start-auto-paper.sh status --json
paper-health:
bash scripts/start-auto-paper.sh health --json
paper-ops:
bash scripts/start-auto-paper.sh ops-check --json
paper-start:
bash scripts/start-auto-paper.sh start --json
paper-stop:
bash scripts/start-auto-paper.sh stop --json
monitor:
python scripts/serve-auto-paper-monitor.py
verify:
bash scripts/verify.sh