Skip to content

Commit ecd1e7f

Browse files
committed
Drop 2.9 tests, update redis image
1 parent f0aa9cb commit ecd1e7f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ jobs:
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 }}
@@ -50,7 +46,7 @@ jobs:
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
@@ -97,6 +93,9 @@ jobs:
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

0 commit comments

Comments
 (0)