Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add GitHub Actions CI Workflow with Bazel and Test Coverage
Summary
This PR introduces a comprehensive CI/CD pipeline using GitHub Actions to automate builds and testing for the MCP server project. The workflow leverages Bazel's hermetic build system and includes test coverage reporting.
Changes
.github/workflows/ci.yml: Complete CI workflow configurationFeatures
✅ Automated Builds
main, pull requests, and manual workflow dispatch//...)🧪 Test Automation
📊 Coverage Reporting
⚡ Performance Optimizations
~/.cache/bazel)Testing
The workflow has been designed to:
internal/andcmd/packagesCODECOV_TOKENsecret)Setup Requirements
Optional: Codecov Integration
To enable full coverage reporting:
Sign up at [codecov.io](https://codecov.io) with your GitHub account
Add the
mcp-serverrepository to CodecovCopy the upload token from Codecov settings
Add as GitHub repository secret:
CODECOV_TOKEN(Optional) Add coverage badge to README:
Note: The workflow functions without Codecov - coverage summaries and artifacts are still generated.
Workflow Triggers
main: Validates production codeArtifacts Generated
Server Binary (
mcp-server-{sha})Coverage Report (
coverage-report-{sha})Future Enhancements
Potential improvements for follow-up PRs:
Testing This PR
After merging, verify the workflow by:
Closes: #[issue-number] (if applicable)
Related: Addresses need for automated CI/CD as outlined in project requirements