Skip to content

Merge pull request #871 from g-r-a-n-t/ctx-tests #3

Merge pull request #871 from g-r-a-n-t/ctx-tests

Merge pull request #871 from g-r-a-n-t/ctx-tests #3

Workflow file for this run

name: test-coverage
on:
push:
branches: [master]
tags:
- v*
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-D warnings"
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libboost-all-dev
- name: Install rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2
- name: install cargo-tarpaulin
run: |
cargo install cargo-tarpaulin
- name: coverage with tarpaulin
run: |
make coverage
bash <(curl -s https://codecov.io/bash)