Content-Length: 314020 | pFad | http://github.com/github/github-mcp-server/pull/69/commits/b4e67723811058396fb3004bf96e87b4a06b488f

9D repository resource tests by mntlty · Pull Request #69 · github/github-mcp-server · GitHub
Skip to content

repository resource tests #69

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

Merged
merged 11 commits into from
Apr 2, 2025
Prev Previous commit
Next Next commit
fix test for ubuntu runner
  • Loading branch information
mntlty committed Apr 2, 2025
commit b4e67723811058396fb3004bf96e87b4a06b488f
2 changes: 1 addition & 1 deletion pkg/github/repository_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func Test_repositoryResourceContentsHandler(t *testing.T) {
expectedDirContent := []mcp.TextResourceContents{
{
URI: "https://github.com/owner/repo/blob/main/README.md",
MIMEType: "",
MIMEType: "text/markdown; charset=utf-8",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

frustratingly, this value exists on the ubuntu runner https://github.com/github/github-mcp-server/actions/runs/14212790977/job/39822938856?pr=69 and does not exist on the mac runner https://github.com/github/github-mcp-server/actions/runs/14212837651/job/39823067424?pr=69 , so one of the other fails. not sure how best to handle this

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

maybe another file type would be simpler

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

or maybe not, looks like "text/directory" is also an issue between the two runner types

Text: "README.md",
},
{
Expand Down
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/github/github-mcp-server/pull/69/commits/b4e67723811058396fb3004bf96e87b4a06b488f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy