-
Notifications
You must be signed in to change notification settings - Fork 814
/
Copy pathmise.toml
48 lines (38 loc) · 1.13 KB
/
mise.toml
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
[env]
PROTO_GENERATION = "true"
[tools]
"go:github.com/grafana/oats" = "0.2.0"
java = "temurin-17.0.13+11"
protoc = "latest"
[tasks.ci]
description = "CI Build"
run = [
"./mvnw clean install",
# just to check if javadoc can be generated
"./mvnw javadoc:javadoc -P javadoc"
]
env = { REQUIRE_PROTO_UP_TO_DATE = "true" }
[tasks.format]
description = "format source code"
run = "./mvnw spotless:apply"
[tasks.test]
description = "run unit tests, ignoring formatting and linters"
run = "./mvnw test -DskipTests=true -Dspotless.check.skip=true -Dcoverage.skip=true -Dcheckstyle.skip=true -Dwarnings=-nowarn"
[tasks.test-all]
description = "run all tests"
run = "./mvnw verify"
[tasks.build]
description = "build all modules wihthout tests"
run = "./mvnw clean install -DskipTests"
[tasks.acceptance-test]
description = "Run OATs acceptance tests"
depends = "build"
run = "oats -timeout 5m examples/"
[tasks.native-test]
depends = "build"
tools.java = "graalvm-22.3.3+java17"
run = "../../mvnw test -PnativeTest"
dir = "integration-tests/it-spring-boot-smoke-test"
[settings]
# to get lock file support and for go backend
experimental = true