-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathTaskfile.yml
More file actions
116 lines (97 loc) · 2.77 KB
/
Taskfile.yml
File metadata and controls
116 lines (97 loc) · 2.77 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
version: "3"
tasks:
install:
desc: Install all development dependencies
cmds:
- corepack npm ci
- uv sync --all-extras --frozen
hooks:
desc: Install local git hooks
cmds:
- uvx pre-commit install --install-hooks
- uvx pre-commit install --hook-type commit-msg
- uvx pre-commit install --hook-type pre-push
format:
desc: Auto-format the codebase
cmds:
- corepack npm run format
lint:
desc: Run read-only lint and metadata checks
cmds:
- corepack npm run metadata:check
- corepack npm run lint
- corepack npm run format:check
typecheck:
desc: Run strict static type checking
cmds:
- corepack npm run typecheck
test:
desc: Run unit tests
cmds:
- corepack npm run test:unit
test:fast:
desc: Run fast tests
cmds:
- corepack npm run test:unit
test:cov:
desc: Run the full test suite with coverage
cmds:
- corepack npm run test
security:
desc: Run enforced security checks
cmds:
- corepack npm run security
security:local:
desc: Run local workstation security scanners with clear missing-tool failures
cmds:
- corepack npm run security:local
workflows:lint:
desc: Parse and lint GitHub Actions workflows
cmds:
- corepack npm run workflows:lint
workflows:security:
desc: Run workflow security checks
cmds:
- corepack npm run workflows:security
build:
desc: Build release artifacts
cmds:
- corepack npm run build
package:check:
desc: Build and check package artifacts
cmds:
- corepack npm run package:check
pre-push:
desc: Run the pre-push parity gate
cmds:
- corepack npm run metadata:check
- corepack npm run format:check
- task: lint
- task: typecheck
- task: test:fast
- task: workflows:lint
ci:
desc: Run the local equivalent of CI
cmds:
- task: lint
- task: typecheck
- task: test:cov
- task: security
- task: workflows:lint
- task: workflows:security
- task: package:check
ci:act:
desc: Run the GitHub Actions CI workflow locally with act
cmds:
- act -W .github/workflows/ci.yml --container-architecture linux/amd64
doppler:check:
desc: Verify required Doppler secrets
cmds:
- bash scripts/verify_doppler_secrets.sh
clean:
desc: Remove generated build and test artifacts
cmds:
- cmd: rm -rf dist build .pytest_cache .mypy_cache .ruff_cache htmlcov coverage.xml junit.xml
platforms: [linux, darwin]
- cmd: powershell -NoProfile -Command "Remove-Item -Recurse -Force dist,build,.pytest_cache,.mypy_cache,.ruff_cache,htmlcov,coverage.xml,junit.xml -ErrorAction SilentlyContinue"
platforms: [windows]