oras-project / oras

OCI registry client - managing content like artifacts, images, packages
https://oras.land
Apache License 2.0
1.33k stars 161 forks source link

test(unit): exclude darwin from go build constraint #1289

Closed wangxiaoxuan273 closed 3 months ago

wangxiaoxuan273 commented 3 months ago

What this PR does / why we need it: Removed darwin from go build constraint for pty-related operations. Tested on arm64 Mac and the tests pass.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #1277

Please check the following list:

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.92%. Comparing base (d2cca28) to head (6cc1437).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1289 +/- ## ========================================== - Coverage 81.97% 81.92% -0.06% ========================================== Files 83 83 Lines 3995 3995 ========================================== - Hits 3275 3273 -2 - Misses 497 499 +2 Partials 223 223 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.