Skip to content

Commit 54fb102

Browse files
committed
chore: use mise project root in native task
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent ac2e64c commit 54fb102

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.mise/envs/native/mise.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@ java = "oracle-graalvm-25.0.1"
44
[tasks.native-test]
55
depends = "build"
66
# Native Test uses Surefire, so explicitly select the Failsafe-named test class.
7-
run = "../../mvnw test -PnativeTest -Dtest=ApplicationIT"
8-
dir = "../../../integration-tests/it-spring-boot-smoke-test"
7+
run = '''
8+
repo_root="$MISE_PROJECT_ROOT/../../.."
9+
cd "$repo_root/integration-tests/it-spring-boot-smoke-test"
10+
"$repo_root/mvnw" test -PnativeTest -Dtest=ApplicationIT
11+
'''

0 commit comments

Comments
 (0)