-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
68 lines (59 loc) · 1.58 KB
/
Copy pathTaskfile.yml
File metadata and controls
68 lines (59 loc) · 1.58 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
58
59
60
61
62
63
64
65
66
67
68
# https://taskfile.dev
version: "3"
tasks:
default:
desc: "Default task: run the full test suite."
cmds:
- task: test
test:
desc: "Run the full test suite (262 tests)."
cmds:
- uv run pytest -q {{.CLI_ARGS}}
sources:
- scripts/**/*.py
- tests/**/*.py
- pyproject.toml
silent: true
test-idempotency:
desc: "Run idempotency CI gate."
cmds:
- uv run pytest -q tests/test_idempotency.py {{.CLI_ARGS}}
sources:
- scripts/**/*.py
- tests/test_idempotency.py
silent: true
test-orthogonality:
desc: "Run orthogonality CI gate."
cmds:
- uv run pytest -q tests/test_orthogonality.py {{.CLI_ARGS}}
sources:
- scripts/**/*.py
- tests/test_orthogonality.py
silent: true
test-integration:
desc: "Run hook integration smoke test."
cmds:
- bash tests/integration/test_hooks.sh
sources:
- scripts/**/*.py
- tests/integration/test_hooks.sh
bench:
desc: "Regenerate benchmark; assert gate."
cmds:
- uv run --extra bench python -m bench.runner
- uv run --extra bench python -m bench.compare
sources:
- scripts/**/*.py
- bench/**/*.py
- bench/corpus/**
release:
desc: "Regenerate CHANGELOG and build sdist+wheel before tagging."
cmds:
- git-cliff -o CHANGELOG.md
- uv build
release:check:
desc: "Run release gate locally without building (mirrors CI gate job)."
cmds:
- git diff --quiet && git diff --cached --quiet || (echo "dirty tree" >&2; exit 1)
- task: test
- task: bench