From 0e8a9a72e7569d6cf0823ca9641a4a712951900a Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Tue, 9 Jun 2026 15:39:54 +0300 Subject: [PATCH 1/2] docs: register index.md in mkdocs nav as Overview Removes the latent "index.md not in nav" INFO from mkdocs build --strict that's been there since the docs were structured. Co-Authored-By: Claude Opus 4.7 (1M context) --- mkdocs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mkdocs.yml b/mkdocs.yml index e8523ef..2906f19 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,6 +4,7 @@ repo_url: https://github.com/modern-python/faststream-outbox docs_dir: docs edit_uri: edit/main/docs/ nav: + - Overview: index.md - Introduction: - Installation: introduction/installation.md - How it works: introduction/how-it-works.md From 9ea7df8b425f6b365be81bba2ba00ecf1463d710 Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Tue, 9 Jun 2026 15:41:10 +0300 Subject: [PATCH 2/2] ci: split ci.yml into thin caller + reusable _checks.yml Mirrors modern-di's structure: ci.yml only owns the push/PR triggers and concurrency group; _checks.yml owns the lint + pytest job bodies and is reusable via workflow_call. No behavior change today; enables future workflows (scheduled, manual) to run the same checks without duplication. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/_checks.yml | 54 +++++++++++++++++++++++++++++++++++ .github/workflows/ci.yml | 50 ++------------------------------ 2 files changed, 56 insertions(+), 48 deletions(-) create mode 100644 .github/workflows/_checks.yml diff --git a/.github/workflows/_checks.yml b/.github/workflows/_checks.yml new file mode 100644 index 0000000..a87943b --- /dev/null +++ b/.github/workflows/_checks.yml @@ -0,0 +1,54 @@ +name: checks + +on: + workflow_call: {} + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: extractions/setup-just@v4 + - uses: astral-sh/setup-uv@v8.2.0 + with: + enable-cache: true + cache-dependency-glob: "**/pyproject.toml" + - run: uv python install 3.13 + - run: just install lint-ci + + pytest: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: + - "3.13" + - "3.14" + services: + postgres: + image: postgres:17 + env: + POSTGRES_USER: outbox + POSTGRES_PASSWORD: outbox + POSTGRES_DB: outbox + ports: + - 5432:5432 + options: >- + --health-cmd "pg_isready -U outbox" + --health-interval 10s + --health-timeout 5s + --health-retries 5 + steps: + - uses: actions/checkout@v6 + - uses: astral-sh/setup-uv@v8.2.0 + with: + enable-cache: true + cache-dependency-glob: "**/pyproject.toml" + - run: uv python install ${{ matrix.python-version }} + - run: | + uv sync --all-extras --no-install-project + uv run --no-sync pytest . --cov=. --cov-report xml + env: + PYTHONDONTWRITEBYTECODE: 1 + PYTHONUNBUFFERED: 1 + POSTGRES_DSN: postgresql+asyncpg://outbox:outbox@127.0.0.1:5432/outbox diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c226fc..751045b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,51 +11,5 @@ concurrency: cancel-in-progress: true jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: extractions/setup-just@v4 - - uses: astral-sh/setup-uv@v8.2.0 - with: - enable-cache: true - cache-dependency-glob: "**/pyproject.toml" - - run: uv python install 3.13 - - run: just install lint-ci - - pytest: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - python-version: - - "3.13" - - "3.14" - services: - postgres: - image: postgres:17 - env: - POSTGRES_USER: outbox - POSTGRES_PASSWORD: outbox - POSTGRES_DB: outbox - ports: - - 5432:5432 - options: >- - --health-cmd "pg_isready -U outbox" - --health-interval 10s - --health-timeout 5s - --health-retries 5 - steps: - - uses: actions/checkout@v6 - - uses: astral-sh/setup-uv@v8.2.0 - with: - enable-cache: true - cache-dependency-glob: "**/pyproject.toml" - - run: uv python install ${{ matrix.python-version }} - - run: | - uv sync --all-extras --no-install-project - uv run --no-sync pytest . --cov=. --cov-report xml - env: - PYTHONDONTWRITEBYTECODE: 1 - PYTHONUNBUFFERED: 1 - POSTGRES_DSN: postgresql+asyncpg://outbox:outbox@127.0.0.1:5432/outbox + checks: + uses: ./.github/workflows/_checks.yml