Skip to content

Commit

Permalink
Try mannually upgrading the db
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansberry committed Nov 18, 2024
1 parent ecd9605 commit 6d65155
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ jobs:
ckan -c test.ini db init
echo "Upgrading DB"
ckan -c test.ini db upgrade
psql -Atx postgresql://ckan_default:pass@localhost/ckan_test -c "\d activity"
psql -Atx postgresql://ckan_default:pass@localhost/ckan_test -c "ALTER TABLE activity ADD COLUMN permission_labels TEXT[];"
psql -Atx postgresql://ckan_default:pass@localhost/ckan_test -c "\d activity"
- name: Run tests
run: pytest --ckan-ini=test.ini --cov=ckanext.dataset_subscriptions --disable-warnings ckanext/dataset_subscriptions

0 comments on commit 6d65155

Please sign in to comment.