Skip to content

Add consumer mode (#25) #105

Add consumer mode (#25)

Add consumer mode (#25) #105

Workflow file for this run

name: Test and Format
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ".[dev]"
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest tests/ --cov --cov-report=xml --cov-report=html
format:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ruff
- name: Lint with ruff
run: ruff check --output-format=github
- name: Check code formatting with Ruff
run: ruff format --diff
continue-on-error: true