Skip to content

Commit

Permalink
Add coverage with c8 (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored May 25, 2023
1 parent 96d988b commit b533c55
Show file tree
Hide file tree
Showing 5 changed files with 425 additions and 14 deletions.
8 changes: 8 additions & 0 deletions .c8rc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"all": true,
"reporter": [
"html",
"lcovonly",
"text"
]
}
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
run: npm ci

- name: Run tests
run: npm run uvu
run: npm run test:ci

test-extended:
name: Node ${{ matrix.node }} on ${{ matrix.os }} (Extended)
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
run: npm exec hugo version

- name: Run tests
run: npm run uvu
run: npm run test:ci

publish:
name: Publish on npm
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/coverage/
/node_modules/
/vendor/
/npm-debug.log
Loading

0 comments on commit b533c55

Please sign in to comment.