From 0701bab78aa6bd49450b95f0d2d5d78cd7d5ed22 Mon Sep 17 00:00:00 2001 From: Jonathan S Berry Date: Tue, 19 Nov 2024 12:26:18 +0000 Subject: [PATCH] Fix github actions --- .github/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5bfd02d..fcb2fec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,7 +48,8 @@ jobs: ckan -c test.ini db upgrade apt-get install -y postgresql-client 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 + run: | + psql -Atx postgresql://ckan_default:pass@postgres/ckan_test -c "\d activity" + pytest --ckan-ini=test.ini --cov=ckanext.dataset_subscriptions --disable-warnings ckanext/dataset_subscriptions \ No newline at end of file