-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
59 lines (46 loc) · 1023 Bytes
/
Justfile
File metadata and controls
59 lines (46 loc) · 1023 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
55
56
57
58
59
# Justfile for pb-spec project
# Default recipe to run when just is called without arguments
default:
@just --list
# Install development dependencies
install-dev:
uv sync --group dev
# Format code with ruff
format:
uv run ruff format .
rumdl fmt .
# Lint code with ruff
lint:
uv run ruff check .
rumdl check .
# Lint and auto-fix issues
lint-fix:
uv run ruff check . --fix
# Run type checker
type-check:
uv run ty check src tests
# Run format, lint, and type-check
check: format lint type-check
# Run tests
test:
uv run pytest
# Run BDD acceptance tests
bdd:
uv run behave
# Run both pytest and behave suites
test-all:
uv run pytest
uv run behave
# Run all checks and tests
all: format lint type-check test
# CI checks (format, lint, type-check, test - for CI pipeline)
ci:
uv run ruff format --check .
uv run ruff check .
rumdl check .
uv run ty check src tests
uv run pytest
# Build and publish to PyPI
publish:
uv build
uv publish