Skip to content

Commit 863b02d

Browse files
authored
Merge pull request #67 from rtucek/jest-lcov-reporter
Provide coverage report
2 parents 2ea5ba2 + dcbca59 commit 863b02d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/ci-testing.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,10 @@ jobs:
3838
run: yarn install --frozen-lockfile
3939

4040
- name: Unit Test
41-
run: yarn run test:unit
41+
run: yarn run test:unit --coverage --collectCoverageOnlyFrom ./src/**
42+
43+
- name: Report coverage
44+
uses: vebr/[email protected]
45+
with:
46+
github-token: ${{ secrets.GITHUB_TOKEN }}
47+
update-comment: true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.DS_Store
22
node_modules
3+
coverage
34

45
# local env files
56
.env.local

0 commit comments

Comments
 (0)