Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ on:
branches: [ main, release ]
tags:
- 'release-*'
paths-ignore:
- "**/coverage.svg"
pull_request:
branches: [ main, release ]
paths-ignore:
- "**/coverage.svg"

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -136,19 +132,8 @@ jobs:
- name: Install llvm-tools-preview
run: rustup component add llvm-tools-preview

- name: Install lcov
run: sudo apt-get update && sudo apt-get install -y lcov bc

- name: Run tests with coverage
run: cargo llvm-cov --all-features --lcov --output-path lcov.info

- name: Generate coverage badge
if: github.ref == 'refs/heads/main'
uses: GoogleCloudPlatform/lcov-coverage-badge@5857899449990297b622767f36e4fa8d1218acdb
with:
file: ./lcov.info
icon_name: github
access_token: ${{ secrets.GITHUB_TOKEN }}
run: cargo llvm-cov --all-features

security_audit:
name: Security Audit
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Wait for the first release.
<!-- [![Crates.io Version](todo)](todo) -->
<!-- ![Release status](https://github.com/modelcontextprotocol/rust-sdk/actions/workflows/release.yml/badge.svg) -->
<!-- [![docs.rs](todo)](todo) -->
![Coverage](coverage.svg)
![Coverage](docs/coverage.svg)

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

Expand Down
1 change: 1 addition & 0 deletions docs/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading