-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmise.toml
More file actions
53 lines (44 loc) · 1.34 KB
/
mise.toml
File metadata and controls
53 lines (44 loc) · 1.34 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
[env]
MISE_USE_VERSIONS_HOST = "0"
[tasks.format]
description = "Format Lua scripts"
run = "stylua metadata.lua hooks/ lib/"
[tasks."test"]
description = "Runs all tests"
run = [
{ task = "test:unit" },
{ task = "test:external" },
{ task = "test:e2e" },
]
[tasks."test:unit"]
description = "Runs all unit tests"
dir = "test"
run = "gotestsum -- ./..."
[tasks."test:external"]
description = "Runs all external tests"
dir = "test"
run = "gotestsum -- -tags test_external -run 'External$' ./..."
run_windows = "gotestsum -- -tags test_external -run External$ ./..."
[tasks."test:e2e"]
description = "Runs all E2E tests"
dir = "test"
run = "gotestsum -- -tags test_e2e -run ^TestE2E_ ./..."
[tasks.ci]
description = "Run all CI checks"
run = [
{ task = "test" }
]
[tools]
stylua = "latest"
go = "latest"
vfox = "latest"
[tools.gotestsum]
version = "latest"
platforms.darwin-arm64.assert_pattern = "gotestsum_*_darwin_arm64.tar.gz"
platforms.darwin-x64.assert_pattern = "gotestsum_*_darwin_amd64.tar.gz"
platforms.linux-arm64.assert_pattern = "gotestsum_*_linux_arm64.tar.gz"
platforms.linux-x64.assert_pattern = "gotestsum_*_linux_amd64.tar.gz"
platforms.windows-arm64.assert_pattern = "gotestsum_*_windows_arm64.tar.gz"
platforms.windows-x64.assert_pattern = "gotestsum_*_windows_amd64.tar.gz"
[alias]
gotestsum = "github:gotestyourself/gotestsum"