feat(provider): add azureanthropic provider for Claude on Microsoft Foundry #312
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: Gateway Tests | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| paths: | |
| - 'src/any_llm/gateway/**' | |
| - 'tests/gateway/**' | |
| - 'alembic/**' | |
| - 'docker/**' | |
| - 'pyproject.toml' | |
| - '.github/workflows/gateway-tests.yml' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'src/any_llm/gateway/**' | |
| - 'tests/gateway/**' | |
| - 'alembic/**' | |
| - 'docker/**' | |
| - 'pyproject.toml' | |
| - '.github/workflows/gateway-tests.yml' | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| environment: integration-tests | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: 3.13 | |
| activate-environment: true | |
| - name: Install dependencies | |
| run: | | |
| uv sync --extra gateway --extra all --group tests -U --python=3.13 | |
| - name: Run gateway integration tests | |
| env: | |
| GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} | |
| run: | | |
| pytest tests/gateway/ -v --cov --cov-report=xml --cov-append -n auto | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| file: ./coverage.xml | |
| fail_ci_if_error: false | |
| openapi-spec: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: 3.13 | |
| activate-environment: true | |
| - name: Install dependencies | |
| run: uv sync --extra gateway --extra all -U --python=3.13 | |
| - name: Verify OpenAPI spec is up to date | |
| run: python scripts/generate_openapi.py --check |