diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c68c308..8d027b5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -65,4 +65,4 @@ jobs: paster --plugin=ckan db init -c test.ini paster --plugin=ckanext-googleanalytics initdb -c test.ini - name: Run tests - run: pytest --ckan-ini=test.ini --disable-warnings ckanext/googleanalytics/tests + run: pytest --ckan-ini=test.ini --cov=ckanext.googleanalytics --disable-warnings ckanext/googleanalytics/tests diff --git a/dev-requirements.txt b/dev-requirements.txt index dfb701d..6aac721 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,2 +1,3 @@ pytest-ckan pytest-factoryboy +pytest-cov \ No newline at end of file