From 0020fb03ca52c01d7f7e141d7f5bf48987578362 Mon Sep 17 00:00:00 2001 From: Sergey Motornyuk Date: Thu, 2 Nov 2023 18:46:22 +0200 Subject: [PATCH] test: initialize db before tests --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c1c01871..43f06287 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,5 +57,6 @@ jobs: - name: Setup extension (CKAN >= 2.9) run: | ckan -c test.ini db init + ckan -c test.ini db pending-migrations --apply - name: Run tests run: pytest --ckan-ini=test.ini --cov=ckanext.harvest --disable-warnings ckanext/harvest/tests