oras-project / oras-go

ORAS Go library
https://oras.land
Apache License 2.0
172 stars 94 forks source link

Increase code coverage threshold to 75% #662

Closed shizhMSFT closed 8 months ago

shizhMSFT commented 8 months ago

As we are putting more efforts into the quality of the oras-go library, I suggest increasing threshold of the code coverage of the unit test to 75% from 70% and enforce code coverage for PR patches.

https://github.com/oras-project/oras-go/blob/5073458982fd148297c28650b91d879e51ddced1/.github/.codecov.yml#L14-L19

By increasing the code coverage, we aim to make oras-go more stable with better quality.