File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 2828 ckan-image : " ckan/ckan-dev:2.10-py3.10"
2929 solr-image : " 2.10-solr9-spatial"
3030 harvester-version : ' master'
31- - ckan-version : 2.9
32- ckan-image : " amercader/ckan-dev:2.9-py3.9"
33- solr-image : 2.9-solr9-spatial
34- harvester-version : ' master'
3531 fail-fast : false
3632
3733 name : CKAN ${{ matrix.ckan-version }}, Solr ${{ matrix.solr-image }}
5046 POSTGRES_DB : postgres
5147 options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
5248 redis :
53- image : redis:3
49+ image : redis:7
5450 env :
5551 CKAN_SQLALCHEMY_URL : postgresql://ckan_default:pass@postgres/ckan_test
5652 CKAN_DATASTORE_WRITE_URL : postgresql://datastore_write:pass@postgres/datastore_test
9793 run : |
9894 # Replace default path to CKAN core config file with the one on the container
9995 sed -i -e 's/use = config:.*/use = config:\/srv\/app\/src\/ckan\/test-core.ini/' test.ini
100-
96+ - name : Set up db
97+ run : |
98+ ckan -c test.ini db init
99+ ckan -c test.ini db pending-migrations --apply
101100 - name : Run tests
102101 run : pytest --ckan-ini=test.ini --cov=ckanext.spatial --cov-report term-missing --cov-append --disable-warnings ckanext/spatial/tests
You can’t perform that action at this time.
0 commit comments