opensearch-project / opensearch-rs

OpenSearch Rust Client
Apache License 2.0
59 stars 34 forks source link

Switch codecov uploads to use OIDC as tokenless is no-longer supported #276

Closed Xtansia closed 2 weeks ago

Xtansia commented 2 weeks ago

Description

Switch codecov uploads to use OIDC as tokenless is no-longer supporte. Also don't upload coverage on scheduled test runs as it skews results due to not running all tests.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

codecov[bot] commented 2 weeks ago

Codecov Report

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

Project coverage is 16.12%. Comparing base (3f23cf8) to head (e2bf2e0). Report is 7 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #276 +/- ## ============================================= - Coverage 80.05% 16.12% -63.93% ============================================= Files 422 9243 +8821 Lines 70554 1439736 +1369182 ============================================= + Hits 56482 232187 +175705 - Misses 14072 1207549 +1193477 ``` | [Flag](https://app.codecov.io/gh/opensearch-project/opensearch-rs/pull/276/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | Coverage Δ | | |---|---|---| | [integration](https://app.codecov.io/gh/opensearch-project/opensearch-rs/pull/276/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | `31.12% <ø> (-48.93%)` | :arrow_down: | | [unit](https://app.codecov.io/gh/opensearch-project/opensearch-rs/pull/276/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | `11.52% <ø> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project#carryforward-flags-in-the-pull-request-comment) to find out more.

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