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
10 changes: 9 additions & 1 deletion .github/workflows/lip-0001.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,18 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.92.0
with:
components: rustfmt, clippy
components: rustfmt, clippy, llvm-tools-preview
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-llvm-cov
- run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- run: cargo fmt --all --check
- run: cargo test --locked --workspace
- run: cargo clippy --locked --workspace --all-targets -- -D warnings
- name: Coverage (fail below 100% lines)
run: cargo llvm-cov --locked --workspace --all-features --fail-under-lines 100 --ignore-filename-regex 'test_support.rs' --lcov --output-path target/lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: target/lcov.info
fail_ci_if_error: true
- run: cargo run --locked -p lyra-catalog-cli -- --help
10 changes: 10 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
coverage:
status:
project:
default:
target: 100
threshold: 0
patch:
default:
target: 100
threshold: 0
Loading