From fffeb483fe004eb8f6022d26d53b13cc6865dbda Mon Sep 17 00:00:00 2001 From: Muhammad Ismail Shahzad <57398621+MuhammadIsmailShahzad@users.noreply.github.com> Date: Sat, 9 Sep 2023 03:13:06 +0500 Subject: [PATCH] [test.yml] Use pytest-ckan --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 480804ec..41a4efef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,7 +52,8 @@ jobs: pip install -r requirements.txt pip install -r dev-requirements.txt pip install -e . + pip install pytest-ckan # Replace default path to CKAN core config file with the one on the container sed -i -e 's/use = config:.*/use = config:\/srv\/app\/src\/ckan\/test-core.ini/' test.ini - name: Run tests - run: pytest --ckan-ini=test.ini --cov=ckanext.s3filestore --disable-warnings ckanext/s3filestore/tests + run: pytest-ckan --ckan-ini=test.ini --cov=ckanext.s3filestore --disable-warnings ckanext/s3filestore/tests