-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevsm.toml
More file actions
67 lines (56 loc) · 1.45 KB
/
Copy pathdevsm.toml
File metadata and controls
67 lines (56 loc) · 1.45 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
[function]
fn1 = { restart = "devsm-tui" }
[service.devsm]
pwd = "tests/workspace"
cmd = ["cargo", "run", "--", "self", "server"]
env.DEVSM_SOCKET = "/tmp/.devsm.test.socket"
env.DEVSM_LOG_STDOUT = "1"
ready.when.output_contains = "RPC Socket bound"
ready.timeout = 5.0
cache.never = true
[action.devsm-tui]
pwd = "tests/workspace"
cmd = ["/tmp/rust-target/debug/devsm"]
env.DEVSM_SOCKET = "/tmp/.devsm.test.socket"
env.DEVSM_NO_AUTO_SPAWN = "1"
require = ["devsm"]
managed = "terminal"
sticky = true
[test.taplo-validate-json-schema]
sh = """
taplo validate --schema "file://$(realpath schema/devsm.json)" ./schema/devsm.example-big.toml
"""
tag = ["schema"]
[test.devsm-validate-big-config]
cmd = [
"cargo",
"run",
"--",
"self",
"validate",
"--skip-path-checks",
"schema/devsm.example-big.toml",
]
require = [{ resource = "cargo-bin" }]
tag = ["schema"]
[test.typos]
cmd = ["typos", "--color", "always"]
[test.check]
cmd = ["cargo", "check"]
[test.cargo-test]
cmd = ["cargo", "test", "--features=fuzz"]
require = [{ resource = "cargo-bin" }]
[test.cargo-build]
cmd = ["cargo", "build"]
[test.completion-bash]
sh = "./tests/completions/bash.test.sh"
require = [{ resource = "cargo-bin" }]
tag = ["completion"]
[test.completion-fish]
sh = "./tests/completions/fish.test.fish"
require = [{ resource = "cargo-bin" }]
tag = ["completion"]
[test.completion-zsh]
sh = "./tests/completions/zsh.test.zsh"
require = [{ resource = "cargo-bin" }]
tag = ["completion"]