Skip to content

Fix workflow file

Fix workflow file #80

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:
version: "0.4.15"
enable-cache: true
- name: Run tests
run: |
uv run ruff check
uv run pytest .
uv run safety check --full-report