Skip to content

test: add command #2082

test: add command

test: add command #2082

Workflow file for this run

on: [push]
name: Code Coverage
jobs:
coverage:
runs-on: ubuntu-latest
permissions:
issues: read
pull-requests: read
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install nightly toolchain
run: |
rustup install nightly
rustup override set nightly
- name: Install llvm-cov
run: cargo install cargo-llvm-cov
- name: Prepare llvm-tools
run: rustup component add llvm-tools-preview
- name: generage coverage data
env:
RUST_TEST_THREADS: 1
CARGO_INCREMENTAL: "0"
run: cargo llvm-cov --lcov --output-path /tmp/coverage.info
- uses: codecov/codecov-action@v4
with:
directory: /tmp/