-
Notifications
You must be signed in to change notification settings - Fork 2k
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
eng, fix for disabled jacoco in DPG/Cadl #33516
Conversation
API change check APIView has identified API level changes in this PR and created following API reviews. azure-security-confidentialledger |
/azp run java - confidentialledger |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - purview |
Azure Pipelines successfully started running 1 pipeline(s). |
26e3116
to
9024809
Compare
/azp run java - purview |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - confidentialledger |
Azure Pipelines successfully started running 1 pipeline(s). |
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#1979We'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:
General Guidelines and Best Practices
Testing Guidelines