operator-framework / operator-controller

Apache License 2.0
28 stars 47 forks source link

:seedling: Add -count=1 to local e2e tests to avoid caching #980

Closed tmshort closed 1 week ago

tmshort commented 1 week ago

Fixes issues with golang caching during e2e tests.

Description

Reviewer Checklist

netlify[bot] commented 1 week ago

Deploy Preview for olmv1 ready!

Name Link
Latest commit 210fedb5aa21684117f7deed9fd13d68f424fb9a
Latest deploy log https://app.netlify.com/sites/olmv1/deploys/667b0604fdbb930008bca40d
Deploy Preview https://deploy-preview-980--olmv1.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

tmshort commented 1 week ago

This affects only your local tests, CI tests are run in an environment where the cache is already clean.

codecov[bot] commented 1 week ago

Codecov Report

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

Project coverage is 79.40%. Comparing base (2eca31d) to head (210fedb).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #980 +/- ## ======================================= Coverage 79.40% 79.40% ======================================= Files 17 17 Lines 1170 1170 ======================================= Hits 929 929 Misses 165 165 Partials 76 76 ``` | [Flag](https://app.codecov.io/gh/operator-framework/operator-controller/pull/980/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=operator-framework) | Coverage Ξ” | | |---|---|---| | [e2e](https://app.codecov.io/gh/operator-framework/operator-controller/pull/980/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=operator-framework) | `57.35% <ΓΈ> (ΓΈ)` | | | [unit](https://app.codecov.io/gh/operator-framework/operator-controller/pull/980/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=operator-framework) | `54.44% <ΓΈ> (ΓΈ)` | | 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=operator-framework#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.