Skip to content

Update dependency kafka-python to v3.0.7 (solution) #66

Update dependency kafka-python to v3.0.7 (solution)

Update dependency kafka-python to v3.0.7 (solution) #66

Workflow file for this run

name: CI
on:
push:
branches: [ "main", "solution" ]
pull_request:
branches: [ "main", "solution" ]
jobs:
build-and-test:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v7.0.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install ruff mypy
- name: Lint with ruff
run: ruff check --output-format=github .
- name: Check formatting with ruff
run: ruff format --check .
- name: Type check with mypy
run: mypy .
- name: Run batch pipeline (smoke test)
if: github.ref == 'refs/heads/solution' || github.base_ref == 'solution'
run: python my_batch_pipeline.py