Skip to content

Commit 906f013

Browse files
authored
MAINT: Cache Azure ML/Foundry token in integration test (#1132)
1 parent bc80215 commit 906f013

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

integration-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ jobs:
6868
az account get-access-token --scope https://cognitiveservices.azure.com/.default --output none
6969
echo "Cognitive Services access token cached successfully."
7070
71+
# Prefetch token for Azure ML / Foundry model endpoints
72+
az account get-access-token --scope https://ml.azure.com/.default --output none
73+
echo "Azure ML/Foundry access token cached successfully."
74+
7175
# Run integration tests
7276
make integration-test
7377
- bash: rm -f .env

0 commit comments

Comments
 (0)