File tree 2 files changed +39
-26
lines changed 2 files changed +39
-26
lines changed Original file line number Diff line number Diff line change
1
+ name : test-coverage
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ tags :
7
+ - v*
8
+
9
+ env :
10
+ CARGO_TERM_COLOR : always
11
+ CARGO_INCREMENTAL : 0
12
+ RUSTFLAGS : " -D warnings"
13
+
14
+ jobs :
15
+ coverage :
16
+ runs-on : ubuntu-latest
17
+
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - name : Install system dependencies
21
+ run : |
22
+ sudo apt-get update
23
+ sudo apt-get install -y libboost-all-dev
24
+ - name : Install rust
25
+ uses : actions-rs/toolchain@v1
26
+ with :
27
+ profile : minimal
28
+ toolchain : stable
29
+ override : true
30
+ - name : Cache Dependencies
31
+ uses : Swatinem/rust-cache@v1
32
+ - name : install cargo-tarpaulin
33
+ run : |
34
+ cargo install cargo-quickinstall
35
+ cargo quickinstall cargo-tarpaulin
36
+ - name : coverage with tarpaulin
37
+ run : |
38
+ make coverage
39
+ bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 14
14
RUSTFLAGS : " -D warnings"
15
15
16
16
jobs :
17
- coverage :
18
- runs-on : ubuntu-latest
19
-
20
- steps :
21
- - uses : actions/checkout@v2
22
- - name : Install system dependencies
23
- run : |
24
- sudo apt-get update
25
- sudo apt-get install -y libboost-all-dev
26
- - name : Install rust
27
- uses : actions-rs/toolchain@v1
28
- with :
29
- profile : minimal
30
- toolchain : stable
31
- override : true
32
- - name : Cache Dependencies
33
- uses : Swatinem/rust-cache@v1
34
- - name : install cargo-tarpaulin
35
- run : |
36
- cargo install cargo-quickinstall
37
- cargo quickinstall cargo-tarpaulin
38
- - name : coverage with tarpaulin
39
- run : |
40
- make coverage
41
- bash <(curl -s https://codecov.io/bash)
42
-
43
17
lint :
44
18
runs-on : ubuntu-latest
45
19
steps :
You can’t perform that action at this time.
0 commit comments