diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 99a8d7c..64ad0b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -91,6 +91,8 @@ 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