File tree Expand file tree Collapse file tree 4 files changed +25
-41
lines changed
Expand file tree Collapse file tree 4 files changed +25
-41
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66 - main
77 paths :
88 - .github/workflows/oats-tests.yml
9+ - mise.toml
10+ - .mise/tasks/oats-tests.sh
911 - ' logging-k8s-stdout-otlp-json/**'
1012 - ' javaagent-declarative-configuration/**'
1113 - ' doc-snippets/extensions-minimal/**'
2123 - name : Check out
2224 uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
2325
24- - name : Set up JDK for running Gradle
25- uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
26- with :
27- distribution : temurin
28- java-version : 17
26+ - uses : jdx/mise-action@9dc7d5dd454262207dea3ab5a06a3df6afc8ff26 # v3.4.1
2927
30- - name : Set up gradle
31- uses : gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
32- with :
33- cache-read-only : ${{ github.event_name == 'pull_request' }}
34-
35- - name : Set up Go
36- uses : actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
37- with :
38- go-version : ' 1.25'
39-
40- - name : Run acceptance tests
41- run : .github/scripts/run-oats-tests.sh
28+ - name : Run OATS tests
29+ run : mise run oats-tests
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # MISE description="Run OATS tests for example projects"
3+
4+ set -euo pipefail
5+
6+ pushd logging-k8s-stdout-otlp-json
7+ ../gradlew clean assemble
8+ popd
9+
10+ pushd javaagent-declarative-configuration
11+ ../gradlew clean bootJar
12+ popd
13+
14+ oats -timeout 5m logging-k8s-stdout-otlp-json/
15+ oats -timeout 5m javaagent-declarative-configuration/oats/
Original file line number Diff line number Diff line change 11[tools ]
22lychee = " 0.21.0"
3+ k3d = " 5.8.2"
4+ "go:github.com/grafana/oats" = " 0.4.1"
5+ java = " temurin-21.0.8+9.0.LTS"
6+ kubectl = " 1.34.2"
37
48[settings ]
59# Only install tools explicitly defined in the [tools] section above
@@ -9,6 +13,7 @@ idiomatic_version_file_enable_tools = []
913# Based on: https://github.com/jdx/mise/discussions/4461
1014windows_executable_extensions = [" sh" ]
1115windows_default_file_shell_args = " bash"
16+ unix_default_file_shell_args = " bash"
1217use_file_shell_for_executable_tasks = true
1318
1419[tasks ."lint:links" ]
You can’t perform that action at this time.
0 commit comments