mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-05-04 21:32:32 +00:00
fixed tests not working
This commit is contained in:
+4
-3
@@ -56,9 +56,10 @@ steps:
|
|||||||
displayName: 'Run tests'
|
displayName: 'Run tests'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
pip install pytest
|
pip install coverage
|
||||||
pip install pytest-cov
|
coverage run --source='.' manage.py test
|
||||||
pytest tests --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
|
coverage xml
|
||||||
|
coverage html
|
||||||
displayName: 'Test with pytest'
|
displayName: 'Test with pytest'
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user