Skip to content

Poetry update

Poetry update #148

Workflow file for this run

name: Tests
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# As of this writing, multidict isn't 3.13 compatible yet
python-version: [ "3.12" ]
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: |
pipx install poetry==1.8.2
poetry config virtualenvs.in-project true
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install dependencies
run: poetry install
- name: Check formatting
run: .venv/bin/ruff format . --check
- name: Run ruff
run: .venv/bin/ruff check .
- name: Run pytest
run: .venv/bin/pytest