Skip to content

Commit

Permalink
Form Recognizer: Enable live tests with native image (Azure#34308)
Browse files Browse the repository at this point in the history
* Form Recognizer: Enable live tests with native image

* remove unused property
  • Loading branch information
srnagar authored Apr 7, 2023
1 parent b0bb3ca commit bb30d8d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/formrecognizer/azure-ai-formrecognizer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
<!-- Configures the Java 9+ run to perform the required module exports, opens, and reads that are necessary for testing but shouldn't be part of the module-info. -->
<javaModulesSurefireArgLine>
--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED

--add-opens com.azure.ai.formrecognizer/com.azure.ai.formrecognizer=ALL-UNNAMED
--add-opens com.azure.ai.formrecognizer/com.azure.ai.formrecognizer.documentanalysis=ALL-UNNAMED
--add-opens com.azure.ai.formrecognizer/com.azure.ai.formrecognizer.documentanalysis.administration=ALL-UNNAMED
</javaModulesSurefireArgLine>
<graalvm.disable>false</graalvm.disable>
</properties>

<dependencies>
Expand Down
16 changes: 16 additions & 0 deletions sdk/formrecognizer/tests.native.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
trigger: none

stages:
- template: /eng/pipelines/templates/stages/archetype-sdk-native-tests.yml
parameters:
ServiceDirectory: formrecognizer
timeoutInMinutes: 150 # how long to run the job before automatically cancelling
Artifacts:
- name: azure-ai-formrecognizer
groupId: com.azure
safeName: azureaiformrecognizer
CloudConfig:
Public:
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
Location: 'eastus'
SupportedClouds: 'Public'

0 comments on commit bb30d8d

Please sign in to comment.