From 3b736891efacb8d20e6a1942e1467efe5744288a Mon Sep 17 00:00:00 2001 From: Jari-Pekka Voutilainen Date: Fri, 2 Feb 2024 12:13:20 +0200 Subject: [PATCH] CI needs plugins configuration to exist --- .github/workflows/test.yml | 3 +++ test.ini | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 99a8d7c..914446a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -91,6 +91,9 @@ jobs: ckan -c test.ini db upgrade -p harvest ckan -c test.ini xroad init-db + # Disable plugins in test.ini + sed -i -e 's/ckan.plugins/#ckan.plugins/' test.ini + - name: Run tests run: pytest --ckan-ini=test.ini --cov=ckanext.xroad_integration --disable-warnings ckanext/xroad_integration/tests - name: Coveralls diff --git a/test.ini b/test.ini index 9071c06..4ff9fe7 100644 --- a/test.ini +++ b/test.ini @@ -14,6 +14,7 @@ use = config:/usr/lib/ckan/default/src/ckan/test-core.ini # Insert any custom config settings to be used when running your extension's # tests here. ckan.locale_default = fi +#ckan.plugins = harvest apicatalog scheming_datasets scheming_organizations fluent xroad_harvester xroad_integration ckanext.xroad_integration.xroad_environment = 'FI-TEST' ckanext.xroad_integration.xroad_catalog_address = http://localhost ckanext.xroad_integration.xroad_client_id = someid