chore(deps): bump the production-dependencies group with 4 updates (#… #4885
This file contains 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: Minimal Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
Check: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8", "3.11", "3.12"] | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
env: | |
AWS_DEFAULT_REGION: us-east-1 | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Upgrade Pip | |
run: python -m pip install --upgrade pip | |
- name: Install Poetry | |
run: python -m pip install poetry | |
- name: Install Requirements | |
run: | | |
poetry config virtualenvs.in-project true | |
poetry config virtualenvs.path .venv | |
poetry install -vvv | |
- name: Test Metadata | |
run: poetry run pytest tests/unit/test_metadata.py | |
- name: Test Session | |
run: poetry run pytest tests/unit/test_session.py | |
- name: Test Utils | |
run: poetry run pytest tests/unit/test_utils.py | |
- name: Test Moto | |
run: poetry run pytest -n 4 tests/unit/test_moto.py |