-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (21 loc) · 714 Bytes
/
Copy pathMakefile
File metadata and controls
30 lines (21 loc) · 714 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
.PHONY: install test lint format run-smoke run-regression run-failure docker-smoke clean
install:
python -m pip install -e ".[dev]"
test:
pytest tests
lint:
ruff check .
mypy runner
format:
ruff check . --fix
run-smoke:
python -m runner run --suite smoke --env configs/env.local.yaml --reports-dir reports
run-regression:
python -m runner run --suite regression --env configs/env.local.yaml --reports-dir reports
run-failure:
python -m runner run --suite failure_gallery --env configs/env.local.yaml --reports-dir reports
docker-smoke:
docker compose up --build test-runner
clean:
rm -rf reports .pytest_cache .ruff_cache .mypy_cache
find . -name "__pycache__" -type d -prune -exec rm -rf {} +