Skip to content

Commit de90f96

Browse files
authored
FIX: run inline script for integration tests (microsoft#1115)
1 parent 364bab5 commit de90f96

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

integration-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
cd $NEW_DIR
5959
displayName: "Create and switch to new integration test directory"
6060
- task: AzureCLI@2
61-
displayName: "Authenticate with service principal and cache Cognitive Services access token"
61+
displayName: "Authenticate with service principal, cache Cognitive Services access token, and run tests"
6262
inputs:
6363
azureSubscription: 'integration-test-service-connection'
6464
scriptType: 'bash'
@@ -67,8 +67,9 @@ jobs:
6767
# Prefetch token for Cognitive Services before ID token expires (60-90 minute validity)
6868
az account get-access-token --scope https://cognitiveservices.azure.com/.default --output none
6969
echo "Cognitive Services access token cached successfully."
70-
- bash: make integration-test
71-
name: run_integration_tests
70+
71+
# Run integration tests
72+
make integration-test
7273
- bash: rm -f .env
7374
name: clean_up_env_file
7475
- task: PublishTestResults@2

0 commit comments

Comments
 (0)