Skip to content

boto3-stubs integration #213

boto3-stubs integration

boto3-stubs integration #213

Workflow file for this run

name: boto3-stubs integration
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch: {}
jobs:
integration:
name: Integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: pyproject.toml
cache: "poetry"
- name: Install dependencies
run: |
poetry install -n
poetry run pip install -U --no-dependencies aiobotocore
- name: Integration tests
run: |
poetry run python scripts/integration.py --product boto3 -d
- name: Store artifacts
uses: actions/upload-artifact@v3
with:
name: mypy_boto3_output
path: mypy_boto3_output
sanity-check:
name: Sanity check
needs: integration
runs-on: ubuntu-latest
strategy:
matrix:
version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
with:
name: mypy_boto3_output
path: mypy_boto3_output
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install mypy ruff pyright boto3 botocore botocore-stubs boto3-stubs-lite types-requests
- name: Check output
run: |
python scripts/check_output.py