Skip to content

Commit

Permalink
[test.yml] Use pytest-ckan
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadIsmailShahzad authored Sep 8, 2023
1 parent 11f7c9c commit fffeb48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fffeb48

Please sign in to comment.