Skip to content

Commit

Permalink
Run API in GitHub test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazz1-dbt committed Dec 7, 2024
1 parent e2f8f6a commit e4f7b15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ env:
MB__POSTGRES__PASSWORD: matchbox_password
MB__POSTGRES__DATABASE: matchbox
MB__POSTGRES__DB_SCHEMA: mb
API__ROOT: http://localhost:8000


jobs:
Expand All @@ -38,6 +39,10 @@ jobs:
- name: Set up PostgreSQL
run: |
docker compose up -d --wait
- name: Run API
run: |
uv run fastapi dev src/matchbox/server/api.py > /dev/null 2>&1 &
- name: Run pytest
run: |
Expand Down

0 comments on commit e4f7b15

Please sign in to comment.