More red team fixes #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Azure SDK Tools | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - "tools/azure-sdk-tools/**" | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.11 | |
| - name: Install azure-sdk-tools | |
| run: | | |
| python -m pip install -e tools/azure-sdk-tools[build,ghtools,conda] | |
| python -m pip freeze | |
| shell: bash | |
| - name: Run tests | |
| run: | | |
| pytest ./tests | |
| shell: bash | |
| working-directory: tools/azure-sdk-tools |