Added global constants to set the benchmark values. #6
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
name: Code Coverage | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
SCCACHE_GHA_ENABLED: on | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: mozilla-actions/sccache-action@v0.0.3 | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install LLVM Tools for Rust | |
run: rustup component add llvm-tools-preview | |
- name: Install grcov | |
run: cargo install grcov | |
- name: Generating Code Coverage | |
run: cargo xtask coverage | |
env: | |
RUSTC_WRAPPER: sccache | |