Skip to content

⬆️ PyUp: Update ruff requirement from >=0.5.1,<0.8.5 to >=0.5.1,<0.9.7 #134

⬆️ PyUp: Update ruff requirement from >=0.5.1,<0.8.5 to >=0.5.1,<0.9.7

⬆️ PyUp: Update ruff requirement from >=0.5.1,<0.8.5 to >=0.5.1,<0.9.7 #134

name: Tests
on: [ pull_request ]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11.6
- name: Install poetry
run: python -m pip install poetry==1.7.1
- name: install test dependencies
run: poetry install
- uses: pre-commit/action@v3.0.1
run-tests:
strategy:
fail-fast: false
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
fastapi-version: [ "0.110.3", "0.114", "0.115.0" ]
jinja2-version: [ "3.1.4" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: python -m pip install poetry==1.7.1
- name: install test dependencies
run: poetry install --only dev
- name: install main dependencies from matrix
run: poetry add fastapi==${{ matrix.fastapi-version }} jinja2==${{ matrix.jinja2-version }}
- name: run tests
run: poetry run pytest -v --cov-report term --cov=fastapi_htmx