#2084: fixing 0% coverage

This commit is contained in:
Czar Echavez
2023-12-02 13:44:39 +00:00
parent 6ecb47f5ae
commit 47287ad1eb

View File

@@ -104,7 +104,7 @@ stages:
version: '2.1.x'
- script: |
pytest -v --cov=src/ -o junit_family=xunit2 --junitxml=junit/test-results.xml --cov-report xml:$(System.DefaultWorkingDirectory)/coverage.xml --cov-report html:$(System.DefaultWorkingDirectory)/htmlcov --cov-report term
pytest -v --cov=$(System.DefaultWorkingDirectory)/src/ -o junit_family=xunit2 --junitxml=junit/test-results.xml --cov-report xml:$(System.DefaultWorkingDirectory)/coverage.xml --cov-report html:$(System.DefaultWorkingDirectory)/htmlcov --cov-report term
displayName: 'Run tests and code coverage'
- task: PublishTestResults@2