Skip to content

Add .env.example and implement CORS configuration #9

Add .env.example and implement CORS configuration

Add .env.example and implement CORS configuration #9

Workflow file for this run

name: Test & Lint
on:
- push
- pull_request
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install the latest version of uv and set the python version
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-groups
- name: Run ruff linter
run: uv run ruff check .
- name: Run ruff formatter
run: uv run ruff format --check .
- name: Run pytest
run: uv run pytest tests/ -v --cov=app/