Compute coverage on API tests

This commit is contained in:
Eliot Berriot 2018-03-25 22:45:37 +02:00
parent cc95e2f1f6
commit 82aa8c4e22
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,7 @@ test_api:
- pip install -r requirements/local.txt
- pip install -r requirements/test.txt
script:
- pytest
- pytest --cov=funkwhale_api tests/
tags:
- docker

View File

@ -9,3 +9,4 @@ git+https://github.com/pytest-dev/pytest-django.git@d3d9bb3ef6f0377cb5356eb36899
pytest-mock
pytest-sugar
pytest-xdist
pytest-cov