Skip to content

Commit

Permalink
Run alembic upgrade head on test CI dbs
Browse files Browse the repository at this point in the history
  • Loading branch information
steventux committed Jan 22, 2025
1 parent 4ae3227 commit 86dff02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/stage-2-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
- name: "Create test db"
run: |
psql -U postgres -h 127.0.0.1 -d postgres -tc "CREATE DATABASE communication_management_test;"
alembic upgrade head
- name: "Checkout code"
uses: actions/checkout@v4
Expand Down Expand Up @@ -126,6 +127,7 @@ jobs:
- name: "Create test db"
run: |
psql -U postgres -h 127.0.0.1 -d postgres -tc "CREATE DATABASE communication_management_test;"
alemic upgrade head
- name: "Checkout code"
uses: actions/checkout@v4
Expand Down

0 comments on commit 86dff02

Please sign in to comment.