Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GO param to Makefile #4337

Merged
merged 1 commit into from
Mar 25, 2023
Merged

Conversation

yurishkuro
Copy link
Member

go command was hardcoded, making it difficult to run with gotip. Now can do make test GO=gotip

Signed-off-by: Yuri Shkuro <[email protected]>
@yurishkuro yurishkuro requested a review from a team as a code owner March 24, 2023 22:47
@yurishkuro yurishkuro requested a review from pavolloffay March 24, 2023 22:47
@codecov
Copy link

codecov bot commented Mar 24, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (45d2de2) 97.08% compared to head (6ae06ae) 97.08%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4337   +/-   ##
=======================================
  Coverage   97.08%   97.08%           
=======================================
  Files         300      300           
  Lines       17697    17697           
=======================================
+ Hits        17181    17182    +1     
+ Misses        415      414    -1     
  Partials      101      101           
Flag Coverage Δ
unittests 97.08% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 3 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -1,6 +1,7 @@
SHELL := /bin/bash
JAEGER_IMPORT_PATH = github.com/jaegertracing/jaeger
STORAGE_PKGS = ./plugin/storage/integration/...
GO = go
Copy link
Contributor

@albertteoh albertteoh Mar 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about using ?=? It means users can export GO=gotip just once, then make test each time during development, instead of needing to always run make test GO=gotip.

It also offers the option of make test GO=gotip if users don't wish to "permanently" set their GO env var.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally don't like such auto-import of env vars, who knows what else is in there...

@yurishkuro yurishkuro merged commit 17f34b7 into jaegertracing:main Mar 25, 2023
@yurishkuro yurishkuro deleted the go-param branch March 25, 2023 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants