Compute coverage on API tests
This commit is contained in:
parent
cc95e2f1f6
commit
82aa8c4e22
|
@ -31,7 +31,7 @@ test_api:
|
||||||
- pip install -r requirements/local.txt
|
- pip install -r requirements/local.txt
|
||||||
- pip install -r requirements/test.txt
|
- pip install -r requirements/test.txt
|
||||||
script:
|
script:
|
||||||
- pytest
|
- pytest --cov=funkwhale_api tests/
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
|
|
|
@ -9,3 +9,4 @@ git+https://github.com/pytest-dev/pytest-django.git@d3d9bb3ef6f0377cb5356eb36899
|
||||||
pytest-mock
|
pytest-mock
|
||||||
pytest-sugar
|
pytest-sugar
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
|
pytest-cov
|
||||||
|
|
Loading…
Reference in New Issue