Skip to content

Commit

Permalink
go/lint: skip coverage check when COVER_THRESHOLD=disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Jan 15, 2025
1 parent c3580d4 commit 5ead079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/lint-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ if [[ "$OS_NAME" != "windows" ]]; then
fi

# Verify Code Coverage Threshold
if [[ "$COVER_THRESHOLD" != "" ]]; then
if [[ "$COVER_THRESHOLD" != "" && "$COVER_THRESHOLD" != "disabled" ]]; then
if [[ -f "$coveragePath" && "$PROFILE_GOTEST" != "yes" ]];
then
# Ignore test directories in coverage analysis
Expand Down

0 comments on commit 5ead079

Please sign in to comment.