Skip to content

Switch to structure that allows usage as a library #2

Switch to structure that allows usage as a library

Switch to structure that allows usage as a library #2

Workflow file for this run

name: Run tests
on:
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-24.04
services:
postgres:
image: postgres:latest
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: astral-sh/setup-uv@v5
- run: uv sync --group dev --extra postgres
- run: uv run pytest dqf/tests/