Add inference YAML tests to rest-resources-zip (#130070)

This commit is contained in:
Quentin Pradet 2025-06-26 13:55:20 +04:00 committed by GitHub
parent e1426b7df6
commit 21180dfd8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -405,3 +405,7 @@ tasks.named("thirdPartyAudit").configure {
tasks.named('yamlRestTest') {
usesDefaultDistribution("Uses the inference API")
}
artifacts {
restXpackTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
}

View file

@ -27,6 +27,7 @@ dependencies {
platinumTests project(path: ':x-pack:plugin', configuration: 'restXpackTests')
platinumTests project(path: ':x-pack:plugin:eql:qa:rest', configuration: 'restXpackTests')
platinumTests project(path: ':x-pack:plugin:ent-search', configuration: 'restXpackTests')
platinumTests project(path: ':x-pack:plugin:inference', configuration: 'restXpackTests')
platinumCompatTests project(path: ':x-pack:plugin', configuration: 'restCompatTests')
platinumCompatTests project(path: ':x-pack:plugin:eql:qa:rest', configuration: 'restCompatTests')
}