-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (25 loc) · 759 Bytes
/
Makefile
File metadata and controls
34 lines (25 loc) · 759 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
.PHONY: install install-dev test test-e2e test-cov test-cov-e2e lint format
# Install dependencies (normal packages only)
install:
uv sync
# Install dependencies (including dev packages)
install-dev:
uv sync --dev
test:
uv run pytest tests/ -m "not e2e"
test-e2e:
uv run pytest tests/ -m e2e
# Run tests with coverage (mocked only)
test-cov:
uv run pytest tests/ -m "not e2e" --cov=pydantic_bq --cov-branch --cov-report=xml --cov-report=term-missing
# Run tests with coverage (e2e tests)
test-cov-e2e:
uv run pytest tests/ -m e2e --cov=pydantic_bq --cov-branch --cov-report=xml --cov-report=term-missing
# Lint code
lint:
uv run ruff check .
uv run ruff format --check .
# Format code
format:
uv run ruff check --fix .
uv run ruff format .