Skip to content

feat: pytest flow

feat: pytest flow #1

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: db
POSTGRES_USER: postgres
POSTGRES_PASSWORD: change-password
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
run: uv run -- pytest .