Skip to content

Commit 9a711a6

Browse files
committed
fix: publish workflow
1 parent 66fec83 commit 9a711a6

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

.github/workflows/publish.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,20 @@ jobs:
7676
include: #ckan-image see https://github.com/ckan/ckan-docker-base, ckan-version controls other image tags
7777
# - ckan-version: "2.11"
7878
# ckan-image: "2.11-py3.10"
79+
# ckan-solr: "2.11-solr9"
80+
# experimental: false
7981
# - ckan-version: "2.10"
8082
# ckan-image: "2.10-py3.10"
83+
# ckan-solr: "2.10-solr9"
84+
# experimental: false
8185
- ckan-version: "2.9"
8286
ckan-image: "2.9-py3.9"
83-
#- ckan-version: "master" Publish does not care about master
84-
# ckan-image: "master"
87+
ckan-solr: "2.9-solr8"
88+
experimental: false
89+
# - ckan-version: "master"
90+
# ckan-image: "master"
91+
# ckan-solr: "master-solr9"
92+
# experimental: true # master is unstable, good to know if we are compatible or not
8593
fail-fast: false
8694

8795
name: CKAN ${{ matrix.ckan-version }}
@@ -91,7 +99,7 @@ jobs:
9199
options: --user root
92100
services:
93101
solr:
94-
image: ckan/ckan-solr:${{ matrix.ckan-version }}-solr9
102+
image: ckan/ckan-solr:${{ matrix.ckan-solr }}
95103
postgres:
96104
image: ckan/ckan-postgres-dev:${{ matrix.ckan-version }}
97105
env:
@@ -125,6 +133,11 @@ jobs:
125133
# Replace default path to CKAN core config file with the one on the container
126134
sed -i -e 's/use = config:.*/use = config:\/srv\/app\/src\/ckan\/test-core.ini/' test.ini
127135
136+
- name: Pin jinja2 for ckan 2.9 only (last jinja version that had escape class)
137+
if: ${{ matrix.ckan-version == 2.9 }}
138+
run: pip install "jinja2<3.1"
139+
continue-on-error: ${{ matrix.experimental }}
140+
128141
- name: Setup extension
129142
run: |
130143
ckan -c test.ini db init

0 commit comments

Comments
 (0)