ci: revert badge (#202)
Co-authored-by: GCOV Github Badge <build@github.com>
This commit is contained in:
parent
076dc2c2cd
commit
08c933a095
1 changed files with 3 additions and 17 deletions
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue