-
Notifications
You must be signed in to change notification settings - Fork 206
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
Migrate to GitHub Actions #133
Conversation
Lines Of Code
|
Unit Test Coveragetotal: (statements) 69.3% Coverage of changed linesNo changes in testable statements. Coverage diff with base branchMissing base coverage file. |
Go API Changes# summary Inferred base version: v5.0.1 Suggested version: v5.1.0 |
Benchmark ResultBenchmark diff with base branch
Benchmark result
|
59cb6a0
to
1d89bd1
Compare
1d89bd1
to
2aa8a72
Compare
2aa8a72
to
de42435
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks!
Just some small suggestion to fix if you want :)
"github.com/stretchr/testify/assert" | ||
"github.com/stretchr/testify/require" | ||
) | ||
|
||
func testRedis(t testing.TB) (addr string, closer func()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think if we put that func at the bottom of the test file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the rationale for such layout?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll merge this PR and let's change this later if there are benefits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the rationale for such layout?
Unexported helpers functions are usually put at the end of file, since they are just helpers and not the main purpose of the file.
There is a layout approach I really like, I think I will share with the team later in Q1 to discuss.
Travis CI seem to be no longer working for free for public repositories, so migrating to GitHub Actions can improve CI.
This PR
github.com/alicebob/miniredis
to reduce test dependency on actual Redis (envREDIS_ADDR
still allows actual Redis),go.mod
withgo1.17
to optimize transitive dependencies handling.