forked from argotorg/fe
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 793 Bytes
/
coverage.yml
File metadata and controls
36 lines (32 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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)