From eb4535fd373a9ea6cc81745da8d790a7b7ae0141 Mon Sep 17 00:00:00 2001 From: amercader Date: Mon, 28 Oct 2024 11:06:50 +0100 Subject: [PATCH] upgrade pytest plugin to avoid exception on 2.9 --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3018b634..3aac838e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -61,6 +61,10 @@ jobs: run: | pip install -r test-requirements.txt ckan -c test.ini db init + - name: Install requirements (2.9) + run: | + pip install -U pytest-rerunfailures + if: ${{ matrix.ckan-version == '2.9' }} - name: Run all tests run: pytest --ckan-ini=test.ini --cov=ckanext.scheming ckanext/scheming/tests - name: Run plugin subclassing tests