Skip to content

Upload coverage to GitHub#22451

Open
MikeMcQuaid wants to merge 1 commit into
mainfrom
add-github-coverage-upload
Open

Upload coverage to GitHub#22451
MikeMcQuaid wants to merge 1 commit into
mainfrom
add-github-coverage-upload

Conversation

@MikeMcQuaid
Copy link
Copy Markdown
Member

  • Surface brew tests --coverage results in GitHub pull requests.
  • Reuse the existing Cobertura report uploaded to Codecov.
  • Allow code-quality until actionlint recognises the new scope.

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them? Performance claims (e.g. "this is faster") must include Hyperfine benchmarks.
  • Have you written new tests (excluding integration tests) for your changes? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) with your changes locally?

  • AI was used to generate or assist with generating this PR.

OpenAI Codex 5.5 xhigh with local review.


Copilot AI review requested due to automatic review settings May 29, 2026 14:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Surfaces brew tests --coverage results in GitHub pull requests by uploading the existing Cobertura coverage report to GitHub's code coverage feature, alongside the existing Codecov upload.

Changes:

  • Add job-level permissions (code-quality: write, pull-requests: read) to the tests job in .github/workflows/tests.yml.
  • Add an actions/upload-code-coverage@v1 step that uploads the existing coverage.xml to GitHub code coverage.
  • Add a path-specific actionlint ignore for the unknown code-quality permission scope until actionlint recognises it.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/tests.yml Adds job permissions and a step to upload the Cobertura report to GitHub code coverage.
.github/actionlint.yaml Suppresses actionlint's unknown-scope warning for code-quality in tests.yml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Surface `brew tests --coverage` results in GitHub pull requests.
- Reuse the existing Cobertura report uploaded to Codecov.
- Allow `code-quality` until actionlint recognises the new scope.
@MikeMcQuaid MikeMcQuaid force-pushed the add-github-coverage-upload branch from 86692fc to 3422894 Compare May 29, 2026 14:26
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.

2 participants