File tree Expand file tree Collapse file tree 4 files changed +16
-30
lines changed
Expand file tree Collapse file tree 4 files changed +16
-30
lines changed Original file line number Diff line number Diff line change @@ -10,32 +10,16 @@ jobs:
1010 acceptance-tests :
1111 runs-on : ubuntu-24.04
1212 steps :
13- - uses : actions/checkout@v4
14- - name : Check out oats
13+ - name : Check out
1514 uses : actions/checkout@v4
15+ - uses : jdx/mise-action@v2
1616 with :
17- repository : grafana/oats
18- ref : v0.1.0
19- path : oats
20- - name : Set up JDK
21- uses : actions/setup-java@v4
22- with :
23- java-version : 17
24- distribution : temurin
25- cache : ' maven'
26- - name : Set up Go
27- uses : actions/setup-go@v5
28- with :
29- go-version : ' 1.23'
30- cache-dependency-path : oats/go.sum
31- - name : Run the Maven verify phase
32- run : |
33- ./mvnw clean install -DskipTests
17+ experimental : ' true' # to get lock file support and for go backend
3418 - name : Run acceptance tests
3519 run : ./scripts/run-acceptance-tests.sh
3620 - name : upload log file
3721 uses : actions/upload-artifact@v4
3822 if : failure()
3923 with :
40- name : OATS logs
41- path : oats/yaml/ build/**/*.log
24+ name : OATs logs
25+ path : build/**/*.log
Original file line number Diff line number Diff line change 1+ [tools."go:github.com/grafana/oats"]
2+ version = "0.2.0"
3+ backend = "go:github.com/grafana/oats"
4+
15[tools.java]
26version = "temurin-17.0.13+11"
37backend = "core:java"
Original file line number Diff line number Diff line change 22PROTO_GENERATION = " true"
33
44[tools ]
5+ "go:github.com/grafana/oats" = " 0.2.0"
56java = " temurin-17.0.13+11"
67protoc = " latest"
78
@@ -26,3 +27,9 @@ run = "./mvnw test -DskipTests=true -Dspotless.check.skip=true -Dcoverage.skip=t
2627description = " run all tests"
2728run = " ./mvnw verify"
2829
30+ [tasks .acceptance-test ]
31+ description = " Run OATs acceptance tests"
32+ run = " oats -timeout 5m examples/"
33+
34+
35+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments