Skip to content

Commit c047028

Browse files
author
Jianhui Harold
authoredJul 29, 2020
Refine ADO coverage report output (Azure#245)
1 parent f0e1e12 commit c047028

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
 

‎.coveragerc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[run]
2+
branch = True
3+
omit = */tests/*

‎azure-pipelines.yml

+1-1
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)
Please sign in to comment.