mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
fixed tests not working
This commit is contained in:
@@ -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