Skip to content

Commit 21180df

Browse files
authored
Add inference YAML tests to rest-resources-zip (elastic#130070)
1 parent e1426b7 commit 21180df

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

x-pack/plugin/inference/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,3 +405,7 @@ tasks.named("thirdPartyAudit").configure {
405405
tasks.named('yamlRestTest') {
406406
usesDefaultDistribution("Uses the inference API")
407407
}
408+
409+
artifacts {
410+
restXpackTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
411+
}

x-pack/rest-resources-zip/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ dependencies {
2727
platinumTests project(path: ':x-pack:plugin', configuration: 'restXpackTests')
2828
platinumTests project(path: ':x-pack:plugin:eql:qa:rest', configuration: 'restXpackTests')
2929
platinumTests project(path: ':x-pack:plugin:ent-search', configuration: 'restXpackTests')
30+
platinumTests project(path: ':x-pack:plugin:inference', configuration: 'restXpackTests')
3031
platinumCompatTests project(path: ':x-pack:plugin', configuration: 'restCompatTests')
3132
platinumCompatTests project(path: ':x-pack:plugin:eql:qa:rest', configuration: 'restCompatTests')
3233
}

0 commit comments

Comments
 (0)