File tree Expand file tree Collapse file tree 3 files changed +58
-61
lines changed Expand file tree Collapse file tree 3 files changed +58
-61
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ pull_request :
3
+ paths-ignore :
4
+ - " docs/**"
5
+ - " helm/**"
6
+ - " assets/**"
7
+ - " **.md"
8
+ push :
9
+ branches :
10
+ - main
11
+
12
+ name : Lint, Test and Coverage Report
13
+ jobs :
14
+ coverage :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+ - uses : dtolnay/rust-toolchain@stable
19
+ with :
20
+ components : clippy
21
+
22
+ - uses : Swatinem/rust-cache@v2
23
+ with :
24
+ shared-key : ${{ runner.os }}-cargo
25
+
26
+ - uses : taiki-e/install-action@v2
27
+ with :
28
+ tool : cargo-hack, cargo-llvm-cov, nextest
29
+
30
+ - name : Check with clippy
31
+ run : cargo hack clippy --verbose --each-feature --no-dev-deps -- -D warnings
32
+
33
+ - name : Check docs
34
+ run : cargo hack doc --verbose --no-deps --each-feature --no-dev-deps
35
+
36
+ - name : Doctests
37
+ run : cargo hack --each-feature test --doc
38
+
39
+ - name : Tests
40
+ run : cargo hack --each-feature llvm-cov --no-report nextest
41
+
42
+ - name : Genrate coverage report
43
+ run : cargo llvm-cov report --lcov --output-path coverage.lcov
44
+
45
+ - name : Upload Coverage Report
46
+ uses :
coverallsapp/[email protected]
47
+ with :
48
+ github-token : ${{ secrets.GITHUB_TOKEN }}
49
+ file : ./coverage.lcov
50
+ parallel : true
51
+ flag-name : run-${{ matrix.os }}-cargo
52
+
53
+ - name : Finish Coverage Report
54
+ uses :
coverallsapp/[email protected]
55
+ with :
56
+ github-token : ${{ secrets.GITHUB_TOKEN }}
57
+ parallel-finished : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 14
14
[ ![ Slack] ( https://img.shields.io/badge/slack-brightgreen.svg?logo=slack&label=Community&style=flat&color=%2373DC8C& )] ( https://logg.ing/community )
15
15
[ ![ Docs] ( https://img.shields.io/badge/stable%20docs-parseable.io%2Fdocs-brightgreen?style=flat&color=%2373DC8C&label=Docs )] ( https://logg.ing/docs )
16
16
[ ![ Build] ( https://img.shields.io/github/checks-status/parseablehq/parseable/main?style=flat&color=%2373DC8C&label=Checks )] ( https://github.com/parseablehq/parseable/actions )
17
+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/parseablehq/parseable/badge.svg?branch=main )] ( https://coveralls.io/github/parseablehq/parseable?branch=main )
17
18
18
19
[ Key Concepts] ( https://www.parseable.io/docs/concepts ) | [ Features] ( https://github.com/parseablehq/parseable#rocket-highlights ) | [ Documentation] ( https://www.parseable.io/docs ) | [ Demo] ( https://demo.parseable.com/login?q=eyJ1c2VybmFtZSI6ImFkbWluIiwicGFzc3dvcmQiOiJhZG1pbiJ9 ) | [ Integrations] ( https://www.parseable.io/docs/category/integrations ) | [ FAQ] ( https://www.parseable.io/docs/faq )
19
20
You can’t perform that action at this time.
0 commit comments