Skip to content

dummy commit to try comments on PR #6

dummy commit to try comments on PR

dummy commit to try comments on PR #6

Workflow file for this run

name: Report test coverage on PR
on:
pull_request:
branches: [ "main" ]
jobs:
comment-test-coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Test
id: test
run: echo "coverage=`make test-gha 2>&1`" >> "$GITHUB_OUTPUT"
- uses: actions/github-script@v7
with:
github-token: ${{secrets.GHA_PRS}}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: {{ steps.test.output.coverage }}
})