Skip to content

Commit

Permalink
add run migrations step
Browse files Browse the repository at this point in the history
  • Loading branch information
dmeliza committed Dec 7, 2024
1 parent 8028b9b commit cf7a0f6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,12 @@ jobs:
version: "latest"
- name: Install dependencies
run: uv sync --locked
- name: Apply migrations
env:
# Database settings
DATABASE_URL: postgres://postgres:postgres@localhost:5432/test_db
# Django settings
DJANGO_SETTINGS_MODULE: inventory.tests.settings
run: uv run -m django migrate
- name: Run Tests
run: uv run pytest

0 comments on commit cf7a0f6

Please sign in to comment.