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

[TestOnly][Build] Support to collect the test coverage in cobertura format #3012

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

Conversation

xumia
Copy link
Collaborator

@xumia xumia commented Jan 10, 2024

What I did
[Build] Support to collect the test coverage in cobertura format.

  1. Collect the coverage inside of the docker container, only publish the coverage that does not have dependency on the coverage object file (gcno), reduce the file size a lot.
  2. Export the build dir, make sure it works fine to collect the coverage info in an environment different from the build environment.
  3. Simplify the coverage collection logic, disable the gcov stage.

Why I did it

How I verified it

Details if related

@xumia
Copy link
Collaborator Author

xumia commented Jan 10, 2024

/azpw run Azure.sonic-swss

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-swss

Copy link

Azure Pipelines failed to run 1 pipeline(s).

@xumia xumia force-pushed the fix-gov-cover-3 branch 2 times, most recently from 1402e9c to 93b4903 Compare January 10, 2024 06:47
@xumia
Copy link
Collaborator Author

xumia commented Jan 18, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xumia
Copy link
Collaborator Author

xumia commented Jan 20, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xumia
Copy link
Collaborator Author

xumia commented Jan 21, 2024

/azp run

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.

None yet

2 participants