Skip to content

Lint with ruff and fix mypy issues #85

Lint with ruff and fix mypy issues

Lint with ruff and fix mypy issues #85

Workflow file for this run

name: test
on: [push]
# on:
# push:
# branches:
# - main
# pull_request:
# types:
# - opened
# - synchronize
jobs:
test-backend:
runs-on: ubuntu-latest
strategy:
max-parallel: 2
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
# Install a specific version of uv.
version: "0.5.24"
enable-cache: true
- name: Install the dependencies
run: uv sync --all-extras --group dev
- name: Run tests
run: |
uv run ruff check
uv run pytest .
uv run safety check --full-report