🐛 Fix envtest --bin-dir#804
Merged
m1kola merged 1 commit intooperator-framework:mainfrom Apr 30, 2024
Merged
Conversation
Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
m1kola
commented
Apr 30, 2024
| UNIT_TEST_DIRS=$(shell go list ./... | grep -v /test/) | ||
| test-unit: $(SETUP_ENVTEST) #HELP Run the unit tests | ||
| eval $$($(SETUP_ENVTEST) use -p env $(ENVTEST_VERSION)) $(setup_envtest_bin_dir_override) && go test -tags $(GO_BUILD_TAGS) -count=1 -short $(UNIT_TEST_DIRS) -coverprofile cover.out | ||
| eval $$($(SETUP_ENVTEST) use -p env $(ENVTEST_VERSION) $(SETUP_ENVTEST_BIN_DIR_OVERRIDE)) && go test -tags $(GO_BUILD_TAGS) -count=1 -short $(UNIT_TEST_DIRS) -coverprofile cover.out |
Member
Author
There was a problem hiding this comment.
$(setup_envtest_bin_dir_override) was outside of eval:
eval $(/go/bin/setup-envtest-v0.0.0-20230606045100-e54088c8c7da use -p env 1.29.x) --bin-dir /tmp/envtest-binaries && # ...
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #804 +/- ##
=======================================
Coverage 67.21% 67.21%
=======================================
Files 23 23
Lines 1467 1467
=======================================
Hits 986 986
Misses 415 415
Partials 66 66
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
11 tasks
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.
Description
Optional
--bin-dirwas passed incorrectly.Reviewer Checklist