Skip to content

Test Azure SDK Tools #1

Test Azure SDK Tools

Test Azure SDK Tools #1

name: Test Azure SDK Tools
on:
workflow_dispatch:
pull_request:
branches: [ main ]
paths:
- "eng/tools/azure-sdk-tools/**"
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.13
uses: actions/setup-python@v4
with:
python-version: 3.13
- name: Install azure-sdk-tools
run: |
python -m pip install -e eng/tools/azure-sdk-tools[build,ghtools,conda]
python -m pip freeze
shell: bash
- name: Run tests
run: |
pytest ./tests
shell: bash
working-directory: eng/tools/azure-sdk-tools
dev-setup-and-import:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.13
uses: actions/setup-python@v4
with:
python-version: 3.13
- name: Run dev_setup to install specified packages
run: |
python scripts/dev_setup.py --packageList azure-storage-blob,azure-appconfiguration
shell: bash
- name: Validate imports
run: |
python - <<'PY'
from azure.storage.blob import *
from azure.appconfiguration import *
print("Successful Imports")
PY
shell: bash