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
26 changes: 26 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true

comment:
layout: "header, diff, components, files"

component_management:
individual_components:
- component_id: ssh-cipher
paths:
- ssh-cipher/src/**
- component_id: ssh-derive
paths:
- ssh-derive/src/**
- component_id: ssh-encoding
paths:
- ssh-encoding/src/**
- component_id: ssh-key
paths:
- ssh-key/src/**
18 changes: 18 additions & 0 deletions .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,24 @@ jobs:
components: clippy
- run: cargo clippy --all-features --all-targets

coverage:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools
- uses: taiki-e/install-action@cargo-llvm-cov
- run: cargo llvm-cov --workspace --all-features --locked --lcov --output-path lcov.info
- uses: codecov/codecov-action@v7
with:
files: lcov.info
disable_search: true
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

doc:
runs-on: ubuntu-latest
steps:
Expand Down