Skip to content

feat: output error log #2158

feat: output error log

feat: output error log #2158

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 stable toolchain
run: |
rustup install stable
# 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/