Skip to content

Commit

Permalink
Refine ADO coverage report output (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jianhui Harold authored Jul 29, 2020
1 parent f0e1e12 commit c047028
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
branch = True
omit = */tests/*
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
azdev --version
python -m pytest azdev/ --ignore=azdev/mod_templates --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html
python -m pytest azdev/ --ignore=azdev/mod_templates --junitxml=junit/test-results.xml --cov=azdev --cov-report=xml --cov-report=html
- task: PublishTestResults@2
inputs:
testResultsFiles: '**/test-*.xml'
Expand Down

0 comments on commit c047028

Please sign in to comment.