Skip to content

Commit

Permalink
Add ckan 2.11 and drop 2.9 from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Feb 4, 2025
1 parent cf0de8d commit dfd688e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,21 @@ jobs:
needs: ruff
strategy:
matrix:
ckan-version: ["2.9", "2.10"]
include:
- ckan-version: "2.11"
ckan-image: "ckan/ckan-dev:2.11-py3.10"
- ckan-version: "2.10"
ckan-image: "ckan/ckan-dev:2.10-py3.10"
fail-fast: false

name: CKAN ${{ matrix.ckan-version }}
runs-on: ubuntu-latest
container:
image: ckan/ckan-dev:${{ matrix.ckan-version }}
image: {{ matrix.ckan-image }}
options: --user root
services:
solr:
image: ckan/ckan-solr:${{ matrix.ckan-version }}
image: ckan/ckan-solr:${{ matrix.ckan-version }}-solr9
postgres:
image: ckan/ckan-postgres-dev:${{ matrix.ckan-version }}
env:
Expand Down Expand Up @@ -56,8 +61,7 @@ jobs:
git clone https://github.com/vrk-kpa/ckanext-report
pip install -e ckanext-report
pip install -r ckanext-report/requirements.txt
- name: Setup extension (CKAN >= 2.9)
if: ${{ matrix.ckan-version != '2.8' }}
- name: Setup extension
run: |
ckan -c test.ini db init
ckan -c test.ini matomo init_db
Expand Down

0 comments on commit dfd688e

Please sign in to comment.