From 6d65155fcc4172ba6abbbabe96643441b85d29d6 Mon Sep 17 00:00:00 2001 From: Jonathan S Berry Date: Mon, 18 Nov 2024 16:56:36 +0000 Subject: [PATCH] Try mannually upgrading the db --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 21b97c5..a571829 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 \ No newline at end of file