From 18274833a1c91e0c71d39e79151e477d8a2b57e8 Mon Sep 17 00:00:00 2001 From: amercader Date: Fri, 5 Jul 2024 12:15:19 +0200 Subject: [PATCH] Fix 2.9 tests --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea46d262..5f1f5d0d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} @@ -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 @@ -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 -