Skip to content

Refactors the entire backend to rely on an adapter class #19

Refactors the entire backend to rely on an adapter class

Refactors the entire backend to rely on an adapter class #19

Workflow file for this run

name: Unit tests
on:
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
uv-example:
name: python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v2
- name: Set up Python
run: uv python install
- name: Install the project
run: uv sync --all-extras --dev
- name: Set up PostgreSQL
run: |
docker compose up db -d --wait
- name: Run pytest
run: |
uv run pytest
- name: Dump docker logs
if: failure()
uses: jwalton/gh-docker-logs@v2