Skip to content

Refactor HTTP handler tests to use pytest.mark.parametrize #191

Refactor HTTP handler tests to use pytest.mark.parametrize

Refactor HTTP handler tests to use pytest.mark.parametrize #191

Workflow file for this run

name: Test
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: setup.py
- name: Install dependencies
run: |
pip install '.[test]'
- name: Run tests
run: |
pytest
- name: Check if cog needs to run
run: |
cog --check README.md
cog --check docs/*.md