Merge pull request #1521 from Yamato-Security/1519-fix-sort-logic #2154
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |