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