Skip to content

Commit

Permalink
tests: Apply migrations after re-adding plugins
Browse files Browse the repository at this point in the history
Also, add timetable_harvester before sbb_harvester, because otherwise it is not registered properly with CKAN.
  • Loading branch information
bellisk committed Nov 6, 2024
1 parent 2a8e661 commit f044f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install_test_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ sed -i -e 's/use = config:.*/use = config:\/srv\/app\/src\/ckan\/test-core.ini/'
# Init db and re-enable required plugins
ckan config-tool /__w/ckanext-switzerland/ckanext-switzerland/test.ini "ckan.plugins = "
ckan -c /__w/ckanext-switzerland/ckanext-switzerland/test.ini db init
ckan config-tool /__w/ckanext-switzerland/ckanext-switzerland/test.ini "ckan.plugins = ogdch ogdch_pkg ogdch_group ogdch_org harvest timetable_harvester sbb_harvester datastore fluent scheming_datasets scheming_groups scheming_organizations"
ckan -c /__w/ckanext-switzerland/ckanext-switzerland/test.ini db pending-migrations --apply
ckan config-tool /__w/ckanext-switzerland/ckanext-switzerland/test.ini "ckan.plugins = ogdch ogdch_pkg ogdch_group ogdch_org harvest sbb_harvester timetable_harvester datastore fluent scheming_datasets scheming_groups scheming_organizations"

0 comments on commit f044f83

Please sign in to comment.