Repository navigation
Expand file tree
/
Copy pathmise.toml
More file actions
64 lines (54 loc) · 1.8 KB
/
Copy pathmise.toml
File metadata and controls
64 lines (54 loc) · 1.8 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
[tools]
go = "1.27.1"
"npm:clawpatch" = "0.3.0"
pitchfork = "2.11.0"
[tasks.test]
description = "Run tests for every Go module in the workspace"
depends = ["test:root", "test:adapters", "test:examples"]
[tasks."clawpatch:autofix"]
description = "Fix Clawpatch findings, run Codex cleanup passes, and commit"
run = "scripts/clawpatch-autofix.sh"
[tasks."clawpatch:init"]
description = "Initialize Clawpatch if needed and refresh the feature map"
run = [
"test -f clawpatch.config.json || clawpatch init",
"clawpatch map",
]
[tasks."test:adapters"]
description = "Run adapter-focused tests"
run = [
"go test ./adapters/...",
"cd state/nats && go test ./...",
"cd state/postgres && go test ./...",
"cd state/redis && go test ./...",
]
[tasks."test:nats"]
description = "Run NATS JetStream state tests with an embedded server"
run = "cd state/nats && go test ./..."
[tasks."test:postgres"]
description = "Run Postgres state integration tests with Testcontainers"
run = "cd state/postgres && go test ./..."
[tasks."test:redis"]
description = "Run Redis state integration tests with Testcontainers"
run = "cd state/redis && go test ./..."
[tasks."test:root"]
description = "Run tests for the root Go module"
run = "go test ./..."
[tasks.vet]
description = "Run go vet for every Go module in the workspace"
run = [
"go vet ./...",
"cd state/nats && go vet ./...",
"cd state/postgres && go vet ./...",
"cd state/redis && go vet ./...",
"cd examples/slack-nats-state && go vet ./...",
"cd examples/slack-redis-state && go vet ./...",
"cd examples/slack-postgres-state && go vet ./...",
]
[tasks."test:examples"]
description = "Run example module tests"
run = [
"cd examples/slack-nats-state && go test ./...",
"cd examples/slack-redis-state && go test ./...",
"cd examples/slack-postgres-state && go test ./...",
]