Skip to content

Commit 08c933a

Browse files
Z9RTMGCOV Github Badge
andauthored
ci: revert badge (#202)
Co-authored-by: GCOV Github Badge <[email protected]>
1 parent 076dc2c commit 08c933a

File tree

3 files changed

+3
-17
lines changed

3 files changed

+3
-17
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@ on:
55
branches: [ main, release ]
66
tags:
77
- 'release-*'
8-
paths-ignore:
9-
- "**/coverage.svg"
108
pull_request:
119
branches: [ main, release ]
12-
paths-ignore:
13-
- "**/coverage.svg"
1410

1511
env:
1612
CARGO_TERM_COLOR: always
@@ -136,19 +132,8 @@ jobs:
136132
- name: Install llvm-tools-preview
137133
run: rustup component add llvm-tools-preview
138134

139-
- name: Install lcov
140-
run: sudo apt-get update && sudo apt-get install -y lcov bc
141-
142135
- name: Run tests with coverage
143-
run: cargo llvm-cov --all-features --lcov --output-path lcov.info
144-
145-
- name: Generate coverage badge
146-
if: github.ref == 'refs/heads/main'
147-
uses: GoogleCloudPlatform/lcov-coverage-badge@5857899449990297b622767f36e4fa8d1218acdb
148-
with:
149-
file: ./lcov.info
150-
icon_name: github
151-
access_token: ${{ secrets.GITHUB_TOKEN }}
136+
run: cargo llvm-cov --all-features
152137

153138
security_audit:
154139
name: Security Audit

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Wait for the first release.
77
<!-- [![Crates.io Version](todo)](todo) -->
88
<!-- ![Release status](https://github.com/modelcontextprotocol/rust-sdk/actions/workflows/release.yml/badge.svg) -->
99
<!-- [![docs.rs](todo)](todo) -->
10-
![Coverage](coverage.svg)
10+
![Coverage](docs/coverage.svg)
1111

1212
An official rust Model Context Protocol SDK implementation with tokio async runtime.
1313

docs/coverage.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)