Skip to content

Commit 7a3ac2f

Browse files
ayachensiyuanivan chen
andauthored
test: add python env in vscuse (#14189)
* test: add python env in vscuse * test: add azure account into environment --------- Co-authored-by: ivan chen <[email protected]>
1 parent 5a975bf commit 7a3ac2f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ui-test-vscuse.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ jobs:
269269
AZURE_COSMOS_CONTAINER : "${{ secrets.AZURE_COSMOS_CONTAINER }}"
270270
AZURE_COSMOS_KEY : "${{ secrets.AZURE_COSMOS_KEY }}"
271271

272+
AZURE_ACCOUNT_NAME: ${{ secrets.TEST_USER_NAME }}
273+
AZURE_ACCOUNT_PASSWORD: ${{ secrets.TEST_USER_PASSWORD }}
274+
272275

273276
TEAMSFX_DEV_TUNNEL_TEST: true
274277
TEAMSFX_TELEMETRY_TEST: true
@@ -432,6 +435,20 @@ jobs:
432435
}
433436
shell: pwsh
434437

438+
- name: Setup Python
439+
uses: actions/setup-python@v5
440+
with:
441+
python-version: '3.11'
442+
443+
- name: Install Python environment
444+
run: |
445+
pip install python-dotenv aiohttp azure-search azure-search-documents teams-ai~=1.6.0
446+
447+
- name: Install python extension
448+
working-directory: packages/tests
449+
run: |
450+
code --install-extension ms-python.python
451+
435452
# Sign in
436453
- name: Set m365 account (win)
437454
run: |

0 commit comments

Comments
 (0)