Skip to content

build: python 3.15 #215

build: python 3.15

build: python 3.15 #215

Workflow file for this run

name: CI
on:
push:
branches: [main, master, temp]
pull_request:
branches: [main, master, temp]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Install dependencies
run: uv sync
- name: Run ruff linter
run: uv run ruff check .
- name: Run ruff formatter check
run: uv run ruff format --check .
- name: Run ty type checker
run: uv run ty check .
- name: Run pytest
run: uv run pytest -v --tb=short --cov-report=xml
- name: Check database migrations
run: bash ./scripts/check-migrations.sh
- name: Upload test results
if: always()
uses: actions/upload-artifact@v6
with:
name: test-results
path: |
coverage.xml
htmlcov/
retention-days: 7