-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
45 lines (37 loc) · 972 Bytes
/
Taskfile.yml
File metadata and controls
45 lines (37 loc) · 972 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
version: "3"
tasks:
default:
desc: Show available tasks
cmds:
- task --list
setup:
desc: Install pre-commit hooks and dev environment
cmds:
- uv lock --check || uv lock
- uv sync --group dev
- pre-commit install
update:
desc: Update pre-commit hooks and dependencies
cmds:
- pre-commit autoupdate
- uv sync --group dev --upgrade
lint:
desc: Run all linters via pre-commit (includes actionlint, shellcheck, shfmt)
cmds:
- pre-commit run --all-files
test:
desc: Run all tests
cmds:
- task: test:unit
test:unit:
desc: Run pytest unit tests
cmds:
- uv run pytest tests/ -v
test:act:
desc: Run a specific test workflow locally (usage{{":"}} task test:act -- test-setup-rust.yml)
cmds:
- act -W .github/workflows/{{.CLI_ARGS}}
validate:
desc: Run lint (pre-commit handles actionlint + shellcheck + shfmt)
cmds:
- task: lint