Skip to content

fix: correct log_level type annotation from int to str in add_logging… #41

fix: correct log_level type annotation from int to str in add_logging…

fix: correct log_level type annotation from int to str in add_logging… #41

Workflow file for this run

name: Python Integration Tests
on:
workflow_call:
workflow_dispatch:
push:
branches: main
jobs:
integration:
environment: Integ
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.12']
# python-version: ['3.10', '3.11', '3.12', '3.13']
permissions:
id-token: write
contents: read
env:
AGENTCORE_RUNTIME_ARN: ${{ secrets.AgentCoreRuntimeArn }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install uv
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --frozen --all-extras --dev
- name: Configure AWS Credentials for Tests
uses: aws-actions/configure-aws-credentials@v5
with:
aws-region: us-west-2
role-to-assume: ${{ secrets.IntegTestRoleArn }}
role-session-name: mcp-proxy-for-aws-integ-tests
- name: Run integration tests
run: |
uv run pytest -m integ -s