google-github-actions / google-github-actions/run-gemini-cli

Add integration tests for GitHub MCP server

Open
#376 5 comments 0 reactions 1 assignee View on GitHub

@IamRiddhi is already working on this.

Since Dec 8, 2025.

area/quality area/workflows github_actions kind/cicd kind/enhancement
Dominant language
TypeScript
Stars
2.1k
Forks
285
Avg merge
8h 8m
Merged PRs (30d)
1

Description

Description:

The action's ability to interact with GitHub via the Model Context Protocol (MCP) server is a critical and complex feature. We need dedicated integration tests to ensure that the action can correctly connect to the MCP server, use its tools (mcp__github__*), and perform actions against the GitHub API.

Testing Strategy:

  1. Create a dedicated workflow in a testing repository. This workflow should be triggered by an event like a new issue being created.
  2. Configure the workflow to use the run-gemini-cli action with the mcpServers input pointing to the ghcr.io/github/github-mcp-server image.
  3. Provide a prompt that requires the use of an MCP tool.
  4. Add a verification step to the workflow. This step will run after the action and use the standard GitHub API (e.g., via the gh CLI) to verify that the expected action was performed (e.g., that the comment was actually added to the issue).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.