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
feat: add disable-check-git-remote #346
Conversation
Codecov Report
@@ Coverage Diff @@
## main #346 +/- ##
==========================================
+ Coverage 67.79% 67.80% +0.01%
==========================================
Files 36 36
Lines 6683 6682 -1
==========================================
Hits 4531 4531
+ Misses 1902 1901 -1
Partials 250 250
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
lgtm
} | ||
|
||
func TestRunWithoutGitRemoteCheckWorksWithoutNetworking(t *testing.T) { | ||
// Regression test to guarantee that all git checks |
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.
🚀
Co-authored-by: Tiago de Bem Natel de Moura <t.nateldemoura@gmail.com>
This PR also fixes
terramate run
so it always checks if the local default branch is updated with remote (even without --changed). Given thatterramate run
always checks if the remote is updated, for scenarios where that is not wanted we introduce--disable-check-git-remote
. So in a scenario whereterramate run
is failing on the git check runningterramate run --disable-check-git-remote
will work.