Skip to content

Commit e99a3a3

Browse files
committed
Apply db migrations
1 parent 1f30093 commit e99a3a3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ jobs:
9696
run: |
9797
# Replace default path to CKAN core config file with the one on the container
9898
sed -i -e 's/use = config:.*/use = config:\/srv\/app\/src\/ckan\/test-core.ini/' test.ini
99-
99+
- name: Set up db
100+
run: |
101+
ckan -c test.ini db init
102+
ckan -c test.ini db pending-migrations --apply
100103
- name: Run tests
101104
run: pytest --ckan-ini=test.ini --cov=ckanext.spatial --cov-report term-missing --cov-append --disable-warnings ckanext/spatial/tests

0 commit comments

Comments
 (0)