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

eng, fix for disabled jacoco in DPG/Cadl #33516

Merged

Conversation

weidongxu-microsoft
Copy link
Member

@weidongxu-microsoft weidongxu-microsoft commented Feb 15, 2023

Enable jacoco for DPG/Cadl lib, with some jacoco.min when current coverage is insufficient.

In future, autorest.java or cadl-java will not generate pom with jacoco.skip=true Azure/autorest.java#1979
We'd expect CI to fail on new DPG/Cadl SDK without test (DPG generates disabled test for service reference).

We will add CI troubleshoot in quickstart doc to let service know that they can add jacoco.min.linecoverage to pom if their SDK is beta. But we'd expect higher coverage on their GA SDK.
https://github.com/Azure/azure-sdk-for-java/wiki/Cadl-Java-Quickstart#run-tests-for-from-source-run

report:

loadtesting and devcenter already has jacoco enabled.

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@azure-sdk
Copy link
Collaborator

azure-sdk commented Feb 15, 2023

@Azure Azure deleted a comment from azure-pipelines bot Feb 15, 2023
@weidongxu-microsoft
Copy link
Member Author

/azp run java - confidentialledger

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weidongxu-microsoft
Copy link
Member Author

/azp run java - purview

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weidongxu-microsoft
Copy link
Member Author

/azp run java - purview

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weidongxu-microsoft
Copy link
Member Author

/azp run java - confidentialledger

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weidongxu-microsoft weidongxu-microsoft merged commit 2e43916 into Azure:main Feb 16, 2023
@weidongxu-microsoft weidongxu-microsoft deleted the dpg_fix-enable-jacoco branch February 16, 2023 01:52
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.

3 participants