Skip to content

[pre-commit.ci] pre-commit autoupdate #7

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #7

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
ports:
- 5432:5432
env:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install Uv
run: pip install uv
- name: Run tests
env:
DATABASE_HOST: localhost
DATABASE_USER: postgres
DATABASE_PASSWORD: postgres
DATABASE_NAME: postgres
run: cd backend && uv run -- pytest .