Skip to content

Commit f4d5d44

Browse files
authored
Ensure we can't break dev_setup.py (#42653)
* ensure we can't break dev setup without knowing * extend triggers to extend modifications to the same workflow
1 parent b0cb4e0 commit f4d5d44

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/azure-sdk-tools.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches: [ main ]
77
paths:
88
- "eng/tools/azure-sdk-tools/**"
9+
- ".github/workflows/azure-sdk-tools.yml"
910

1011
jobs:
1112
build-and-test:
@@ -29,3 +30,27 @@ jobs:
2930
pytest ./tests
3031
shell: bash
3132
working-directory: eng/tools/azure-sdk-tools
33+
34+
dev-setup-and-import:
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v2
38+
39+
- name: Set up Python 3.13
40+
uses: actions/setup-python@v4
41+
with:
42+
python-version: 3.13
43+
44+
- name: Run dev_setup to install specified packages
45+
run: |
46+
python scripts/dev_setup.py --packageList azure-storage-blob,azure-appconfiguration
47+
shell: bash
48+
49+
- name: Validate imports
50+
run: |
51+
python - <<'PY'
52+
from azure.storage.blob import *
53+
from azure.appconfiguration import *
54+
print("Successful Imports")
55+
PY
56+
shell: bash

0 commit comments

Comments
 (0)