Skip to content

feat: implement exceptions and error handling #142

feat: implement exceptions and error handling

feat: implement exceptions and error handling #142

Workflow file for this run

---
name: Test
on: push
jobs:
test:
name: Python ${{ matrix.python-version }} tests
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --group dev
- name: Test with pytest
env:
API_KEY: ${{ secrets.MAILERLITE_API_KEY }}
run: |
uv run coverage run -m pytest tests/
uv run coverage report