Skip to content

build(deps): bump types-aiobotocore from 2.7.0 to 2.11.0 #128

build(deps): bump types-aiobotocore from 2.7.0 to 2.11.0

build(deps): bump types-aiobotocore from 2.7.0 to 2.11.0 #128

name: Build and test - on CI server
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
POETRY_VIRTUALENVS_CREATE: false
TESTCONTAINER_DOCKER_NETWORK: tomodachi-testcontainers
DOCKER_BUILDKIT: 1
strategy:
max-parallel: 1
matrix:
python-version: ['3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry cache for Python dependencies
uses: actions/cache@v3
if: startsWith(runner.os, 'Linux')
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: ${{ runner.os }}-poetry-
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | POETRY_HOME="$HOME/.poetry" python - --yes
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Test Poetry installation
run: poetry --version
- name: Install dependencies
run: |
poetry install --no-interaction --with dev --all-extras
poetry show --tree
- name: Run commit hooks
run: SKIP=test poetry run hooks
- name: Create Docker network for running Testcontianers
run: docker network create ${{ env.TESTCONTAINER_DOCKER_NETWORK }}
- name: Run tests
run: poetry run test-ci
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image - Release
uses: docker/build-push-action@v5
with:
target: release
load: true