From f1aef8a2f039be6abfc4920beba144d7324388b1 Mon Sep 17 00:00:00 2001 From: Jonathan S Berry Date: Tue, 19 Nov 2024 12:23:25 +0000 Subject: [PATCH] Fix github actions --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 48687fe..5bfd02d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,8 +47,8 @@ jobs: echo "Upgrading DB" ckan -c test.ini db upgrade apt-get install -y postgresql-client - 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" + psql -Atx postgresql://ckan_default:pass@postgres/ckan_test -c "\d activity" + psql -Atx postgresql://ckan_default:pass@postgres/ckan_test -c "ALTER TABLE activity ADD COLUMN permission_labels TEXT[];" + psql -Atx postgresql://ckan_default:pass@postgres/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