Skip to content

Commit c047028

Browse files
author
Jianhui Harold
authored
Refine ADO coverage report output (#245)
1 parent f0e1e12 commit c047028

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.coveragerc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[run]
2+
branch = True
3+
omit = */tests/*

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
137137
azdev --version
138138
139-
python -m pytest azdev/ --ignore=azdev/mod_templates --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html
139+
python -m pytest azdev/ --ignore=azdev/mod_templates --junitxml=junit/test-results.xml --cov=azdev --cov-report=xml --cov-report=html
140140
- task: PublishTestResults@2
141141
inputs:
142142
testResultsFiles: '**/test-*.xml'

0 commit comments

Comments
 (0)