Skip to content

Commit e8de9a7

Browse files
authored
Merge pull request #301 from blinklabs-io/ci/code-coverage-diff
ci: show code coverage diff in PRs
2 parents ae13a86 + 18f50a6 commit e8de9a7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/pr-coverage.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# The below is copied from the upstream docs:
2+
# https://github.com/kskitek/coverdiff/blob/main/README.md
3+
4+
name: Test coverage report
5+
concurrency:
6+
cancel-in-progress: true
7+
group: coverdiff-${{ github.ref }}
8+
9+
on: [pull_request]
10+
11+
permissions:
12+
contents: read
13+
pull-requests: write
14+
15+
jobs:
16+
main:
17+
name: Coverage
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Go cover diff
21+
uses: kskitek/[email protected]

0 commit comments

Comments
 (0)