Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Nikita Zaporozhets <[email protected]>
  • Loading branch information
Nikita Zaporozhets committed Jan 24, 2024
1 parent 14c9cb9 commit f2fc0db
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,34 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Cache cargo registry
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}

- name: Setup Rust
uses: ATiltedTree/[email protected]
with:
rust-version: nightly

- name: Build and test
run: cargo test -r
- name: Install llvm tools
run: rustup component add llvm-tools-preview

- name: Install grcov
run: cargo install grcov

- name: Install packages
run: |
apt-get update
protobuf-compiler
- name: Build and test
run: cargo test -r

- name: Generate Cobertura report
run: |
cargo tarpaulin --out Xml
Expand Down

0 comments on commit f2fc0db

Please sign in to comment.