Skip to content

Commit 4ededd3

Browse files
committed
fix: fix test workflow
1 parent 5e55e6b commit 4ededd3

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ jobs:
44
test:
55
runs-on: ubuntu-latest
66
container:
7-
# The CKAN version tag of the Solr and Postgres containers should match
8-
# the one of the container the tests run on.
9-
# You can switch this base image with a custom image tailored to your project
10-
image: ckan/ckan-dev:2.12
7+
image: ckan/ckan-dev:2.10-py3.9
8+
options: --user root
119
services:
1210
solr:
13-
image: ckan/ckan-solr:2.12-solr9
11+
image: ckan/ckan-solr:2.10
1412
postgres:
15-
image: ckan/ckan-postgres-dev:2.12
13+
image: ckan/ckan-postgres-dev:2.10
1614
env:
1715
POSTGRES_USER: postgres
1816
POSTGRES_PASSWORD: postgres
@@ -45,4 +43,3 @@ jobs:
4543
ckan -c test.ini db init
4644
- name: Run tests
4745
run: pytest --ckan-ini=test.ini --cov=ckanext.blocksmith --disable-warnings ckanext/blocksmith
48-

0 commit comments

Comments
 (0)