Poetry update #148
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |