Skip to content

Commit

Permalink
CI needs plugins configuration to exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Feb 2, 2024
1 parent 744b228 commit 99102e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions test.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99102e4

Please sign in to comment.