From 08c933a095998f4b9736dd656a30032dad37e3a6 Mon Sep 17 00:00:00 2001 From: z9rtm Date: Wed, 21 May 2025 10:19:25 +0900 Subject: [PATCH] ci: revert badge (#202) Co-authored-by: GCOV Github Badge --- .github/workflows/ci.yml | 17 +---------------- README.md | 2 +- docs/coverage.svg | 1 + 3 files changed, 3 insertions(+), 17 deletions(-) create mode 100644 docs/coverage.svg diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70d5ab9..fb88081 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 bac86ae..4c1c7fa 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 0000000..229bca9 --- /dev/null +++ b/docs/coverage.svg @@ -0,0 +1 @@ +Coverage: 53%Coverage53% \ No newline at end of file