bug: Run operator tests only when operator files change - #6800
Open
Patrick-SCH03 wants to merge 2 commits into
Open
bug: Run operator tests only when operator files change#6800Patrick-SCH03 wants to merge 2 commits into
Patrick-SCH03 wants to merge 2 commits into
Conversation
Signed-off-by: Patrick-SCH03 <wwoo5241@gmail.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6800 +/- ##
=======================================
Coverage 47.08% 47.09%
=======================================
Files 419 419
Lines 51878 51878
Branches 7525 7525
=======================================
+ Hits 24429 24430 +1
Misses 25700 25700
+ Partials 1749 1748 -1
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Signed-off-by: Patrick-SCH03 <wwoo5241@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Part of #6502 (Track 1: low-risk CI hygiene).
operator_pr.ymlcurrently runs on every PR (on: [pull_request]), so even docs-only or Python-only changes install Go and run the full operator test + bundle sync check. This PR adds apathsfilter so the workflow only runs wheninfra/feast-operator/**(or the workflow file itself) changes — mirroring the existing filter inoperator-e2e-integration-tests.yml.Which issue(s) this PR fixes:
Part of #6502 — intentionally not using
Fixes, since that issue tracks multiple cleanup items and should stay open.Checks
git commit -s)Testing Strategy
Misc
Since
.github/workflows/operator_pr.ymlis included in its ownpathsfilter, the operator tests still run on this PR itself, which verifies the workflow remains valid after the change.Note for maintainers: if
operator-testis a required status check in branch protection, path-filtered skips will leave it pending on unrelated PRs. In that case it may need to be removed from required checks, or I can add a no-op fallback workflow with the same job name — happy to do either.