Skip to content

Commit

Permalink
Update CI workflow to use CKAN 2.10 and related container images
Browse files Browse the repository at this point in the history
  • Loading branch information
mjanez committed Nov 13, 2024
1 parent e921ff5 commit 9d803ac
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
name: Tests
on: [pull_request]

jobs:
test:
name: CKAN 2.10
runs-on: ubuntu-latest
container:
# The CKAN version tag of the Solr and Postgres containers should match
# the one of the container the tests run on.
# You can switch this base image with a custom image tailored to your project
image: openknowledge/ckan-dev:2.9
image: ckan/ckan-dev:2.10-py3.10
services:
solr:
image: ckan/ckan-solr:2.9-solr9-spatial
# Custom image with spatial support and advanced schema
image: ghcr.io/mjanez/ckan-solr:2.10-solr9-spatial
postgres:
image: ckan/ckan-postgres-dev:2.9
image: ckan/ckan-postgres-dev:2.10
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
Expand All @@ -29,7 +32,7 @@ jobs:
CKAN_REDIS_URL: redis://redis:6379/1

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install requirements
# Install any extra requirements your extension has here (dev requirements, other extensions etc)
run: |
Expand Down

0 comments on commit 9d803ac

Please sign in to comment.