Skip to content

Commit ddf8df7

Browse files
committed
added codecov
1 parent d3c3ffe commit ddf8df7

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ jobs:
3434

3535
- name: Run tests with coverage
3636
run: npm run coverage
37+
38+
- name: Upload coverage reports to Codecov
39+
uses: codecov/codecov-action@v5
40+
with:
41+
token: ${{ secrets.CODECOV_TOKEN }}
42+
files: ./coverage/lcov.info

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
22
[![jsdoc](https://img.shields.io/static/v1?label=jsdoc&message=%20api%20&color=blue)](https://jsdoc.app/)
33
![Build & Test](https://github.com/db-developer/ts-obsidian-log/actions/workflows/ci.yml/badge.svg)
4+
[![codecov](https://codecov.io/gh/db-developer/ts-obsidian-log/branch/master/graph/badge.svg)](https://codecov.io/gh/db-developer/ts-obsidian-log)
45

56
[BOTTOM](#project-structure) [CHANGELOG](CHANGELOG.md) [LICENSE](LICENSE) [ROADMAP](ROADMAP.md)
67

0 commit comments

Comments
 (0)