Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support PR coverage #1807

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Support PR coverage #1807

wants to merge 4 commits into from

Conversation

xumia
Copy link
Collaborator

@xumia xumia commented Sep 8, 2021

What I did

Support PR coverage, It will print PR coverage in the AZP.
The output log will be collected by subsequent pipelines to generate Pull Request coverage reports.
And if a branch wants to enforce the coverage rate, we can simply and "--fail-under SCORE" in the cover-diff command, see detail in https://diff-cover.readthedocs.io/en/latest/README.html

How I did it

How to verify it

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@lgtm-com
Copy link

lgtm-com bot commented Sep 8, 2021

This pull request introduces 1 alert when merging 8b361ab into 26e700a - view on LGTM.com

new alerts:

  • 1 for Testing equality to None

@xumia
Copy link
Collaborator Author

xumia commented Sep 8, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant