Skip to content

Commit

Permalink
Fix 2.9 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jul 5, 2024
1 parent 1017fc9 commit 1827483
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
needs: lint
strategy:
matrix:
ckan-version: ["2.11", "2.10", 2.9]
ckan-version: ["2.11", "2.10", "2.9"]
fail-fast: false

name: CKAN ${{ matrix.ckan-version }}
Expand Down Expand Up @@ -45,6 +45,9 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install requirements (2.9)
run: pip install --ignore-installed packaging>=21.3
if: ${{ matrix.ckan-version == "2.9" }}
- name: Install requirements
run: |
pip install -r requirements.txt
Expand All @@ -67,4 +70,3 @@ jobs:
ckan -c test.ini db pending-migrations --apply
- name: Run tests
run: pytest --ckan-ini=test.ini --cov=ckanext.dcat --cov-report=term-missing --cov-append --disable-warnings ckanext/dcat/tests

0 comments on commit 1827483

Please sign in to comment.