Skip to content

chore(deps): bump fastapi from 0.115.0 to 0.115.4 in /docs_src #673

chore(deps): bump fastapi from 0.115.0 to 0.115.4 in /docs_src

chore(deps): bump fastapi from 0.115.0 to 0.115.4 in /docs_src #673

Workflow file for this run

name: test-docs-src
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
env:
TESTCONTAINER_DOCKER_NETWORK: tomodachi-testcontainers
DOCKER_BUILDKIT: 1
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Set up Poetry cache for Python dependencies
uses: actions/cache@v4
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 --all-extras --with dev
poetry show --tree
- name: Create Docker network for running Testcontianers
run: docker network create ${{ env.TESTCONTAINER_DOCKER_NETWORK }}
- name: Run docs_src/ tests
run: poetry run make test-docs-src