Skip to content

chore: upgrade to Flask 3.1, Marshmallow 4, SQLAlchemy 2; add CI, JWT… #1

chore: upgrade to Flask 3.1, Marshmallow 4, SQLAlchemy 2; add CI, JWT…

chore: upgrade to Flask 3.1, Marshmallow 4, SQLAlchemy 2; add CI, JWT… #1

Workflow file for this run

name: CI
on:
push:
branches: [ "main", "master" ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: |
poetry install --no-interaction --no-root
- name: Lint
run: |
poetry run ruff .
- name: Tests
run: |
poetry run pytest