diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70d5ab968..fb88081c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/README.md b/README.md index bac86aee7..4c1c7fae2 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Wait for the first release. -![Coverage](coverage.svg) +![Coverage](docs/coverage.svg) An official rust Model Context Protocol SDK implementation with tokio async runtime. diff --git a/docs/coverage.svg b/docs/coverage.svg new file mode 100644 index 000000000..229bca9a6 --- /dev/null +++ b/docs/coverage.svg @@ -0,0 +1 @@ +Coverage: 53%Coverage53% \ No newline at end of file