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

chore(ci): merge codecov workflow files #313

Merged
merged 6 commits into from
Jan 21, 2025
Merged

Conversation

leoshi01
Copy link
Collaborator

No description provided.

@leoshi01 leoshi01 requested review from cardyok and eahydra and removed request for cardyok January 20, 2025 10:25
@eahydra eahydra changed the title fix(operation): merge workflow files chore(ci): merge codecovv workflow files Jan 20, 2025
@eahydra eahydra changed the title chore(ci): merge codecovv workflow files chore(ci): merge codecov workflow files Jan 20, 2025
@@ -19,3 +23,20 @@ go fmt ./...
go vet -v ./...
go test -v ./...
go test -v -race ./...

echo "=== Running tests and generating coverage report ==="
go test -coverprofile="${COVERAGE_FILE}" ./... 2>&1 | tee "${LOG_FILE}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should replace line 24 and make sure line 25 continues to work. BTW: I think we can merge line 24 with line 25? /cc @gyuho

Suggested change
go test -coverprofile="${COVERAGE_FILE}" ./... 2>&1 | tee "${LOG_FILE}"
go test -v -coverprofile="${COVERAGE_FILE}" ./...

@@ -19,3 +23,20 @@ go fmt ./...
go vet -v ./...
go test -v ./...
go test -v -race ./...

echo "=== Running tests and generating coverage report ==="
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
echo "=== Running tests and generating coverage report ==="

exit $test_success
fi

echo "=== Checking if coverage file exists ==="
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
echo "=== Checking if coverage file exists ==="

@@ -10,6 +10,10 @@ set -o nounset
# exit script whenever it errs
set -o errexit

LOG_FILE=${1:-test-coverage.log}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
LOG_FILE=${1:-test-coverage.log}

@eahydra eahydra requested a review from gyuho January 20, 2025 10:35
Copy link
Collaborator

@gyuho gyuho left a comment

Choose a reason for hiding this comment

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

lgtm after addressing @eahydra feedback

@gyuho gyuho added this to the v0.4.0 milestone Jan 20, 2025
@gyuho gyuho merged commit 6c3f5d0 into main Jan 21, 2025
1 check passed
@gyuho gyuho deleted the fix/merge-workflow-files branch January 21, 2025 05:25
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.

3 participants