Skip to content

Commit 1c1398b

Browse files
ci: add Codecov coverage reporting and badge
1 parent 317f77a commit 1c1398b

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,10 @@ jobs:
2020
- name: Install dependencies
2121
run: yarn install
2222
- run: yarn typecheck
23-
- run: yarn vitest run
23+
- run: yarn vitest run --coverage
24+
- name: Upload coverage to Codecov
25+
if: always()
26+
uses: codecov/codecov-action@v5
27+
with:
28+
token: ${{ secrets.CODECOV_TOKEN }}
2429
- run: yarn build

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MCP server for Cisco CUCM Real-time Information Service (RIS) and PerfMon SOAP A
44

55
[![npm](https://img.shields.io/npm/v/@calltelemetry/cisco-ris-mcp)](https://www.npmjs.com/package/@calltelemetry/cisco-ris-mcp)
66
[![CI](https://github.com/calltelemetry/cisco-ris-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/calltelemetry/cisco-ris-mcp/actions/workflows/ci.yml)
7+
[![codecov](https://codecov.io/gh/calltelemetry/cisco-ris-mcp/graph/badge.svg)](https://codecov.io/gh/calltelemetry/cisco-ris-mcp)
78

89
Built by [Call Telemetry](https://calltelemetry.com) — realtime tools for Cisco Collaboration.
910

0 commit comments

Comments
 (0)