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 -