-
Notifications
You must be signed in to change notification settings - Fork 37
44 lines (36 loc) · 1 KB
/
coverage.yml
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
37
38
39
40
41
42
43
44
name: Coverage
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
coverage:
name: Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Build AIR constraints
run: cargo run --bin constraint-evaluation-generator
- name: Install tarpaulin
uses: baptiste0928/cargo-install@v2
with:
crate: cargo-tarpaulin
version: "^0.26"
- name: Run tarpaulin
run: cargo tarpaulin --all-features --all-targets --workspace --engine llvm --timeout 600 --out Lcov
- name: Upload coverage to coveralls.io
uses: coverallsapp/github-action@v2
- name: Archive coverage results
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: lcov.info