-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
42 lines (34 loc) · 1017 Bytes
/
Taskfile.yml
File metadata and controls
42 lines (34 loc) · 1017 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
version: '3'
tasks:
test:
desc: Uruchom testy z pokryciem
cmd: python3 -m pytest tests/ --cov=code2schema --cov-report=term-missing -q
lint:
desc: Ruff + black check
cmds:
- ruff check code2schema/
- black --check code2schema/
fix:
desc: Auto-fix linting + formatowanie
cmds:
- ruff check --fix code2schema/
- black code2schema/
analyze:
desc: Uruchom code2schema na samym sobie (self-analysis)
cmd: >
python3 -m code2schema.cli . --out project/map.json --md project/SUMR.md
--graphml project/graph.graphml --graph-summary --events --cycles
build:
desc: Zbuduj paczkę pip
cmd: python3 -m build
release:patch:
desc: Bump patch + tag + changelog
cmd: goal bump patch
testql:
desc: Uruchom scenariusze testql
cmds:
- testql run testql-scenarios/cli.testql.yaml
- testql run testql-scenarios/generated-cli-tests.testql.toon.yaml
ci:
desc: Full CI pipeline
deps: [lint, test, analyze]