File tree Expand file tree Collapse file tree 4 files changed +79
-44
lines changed
Expand file tree Collapse file tree 4 files changed +79
-44
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Coverage
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ env :
8+ CARGO_TERM_COLOR : always
9+
10+ jobs :
11+ report :
12+ name : Report
13+ runs-on : ubuntu-latest
14+ env :
15+ CARGO_INCREMENTAL : " 0"
16+ RUSTFLAGS : " -Z profile -C codegen-units=1 -C inline-threshold=0 -C link-dead-code -C overflow-checks=off -C panic=abort -Z panic_abort_tests"
17+ RUSTDOCFLAGS : " -Z profile -C codegen-units=1 -C inline-threshold=0 -C link-dead-code -C overflow-checks=off -C panic=abort -Z panic_abort_tests"
18+
19+ steps :
20+ - id : checkout
21+ name : Checkout Repository
22+ uses : actions/checkout@v3
23+
24+ - id : setup
25+ name : Setup Toolchain
26+ uses : dtolnay/rust-toolchain@stable
27+ with :
28+ toolchain : nightly
29+ components : llvm-tools-preview
30+
31+ - id : cache
32+ name : Enable Workflow Cache
33+ uses : Swatinem/rust-cache@v2
34+
35+ - id : tools
36+ name : Install Tools
37+ uses : taiki-e/install-action@v2
38+ with :
39+ tool : grcov
40+
41+ - id : imdl
42+ name : Install Intermodal
43+ run : cargo install imdl
44+
45+ - id : check
46+ name : Run Build Checks
47+ run : cargo check --workspace --all-targets --all-features
48+
49+ - id : test
50+ name : Run Unit Tests
51+ run : cargo test --workspace --all-targets --all-features
52+
53+ - id : coverage
54+ name : Generate Coverage Report
55+ 56+
57+ - id : upload
58+ name : Upload Coverage Report
59+ uses : codecov/codecov-action@v3
60+ with :
61+ files : ${{ steps.coverage.outputs.report }}
62+ verbose : true
63+ fail_ci_if_error : true
Original file line number Diff line number Diff line change 1+ coverage :
2+ status :
3+ project :
4+ default :
5+ target : auto
6+ threshold : 0.5%
Original file line number Diff line number Diff line change 11actix
22addrs
3+ alekitto
34AUTOINCREMENT
45bencode
56bencoded
67Benoit
78binascii
89btih
910chrono
11+ codecov
12+ codegen
1013compatiblelicenses
1114creativecommons
1215creds
@@ -16,6 +19,8 @@ datetime
1619DATETIME
1720Dont
1821dotless
22+ dtolnay
23+ grcov
1924Grünwald
2025hasher
2126Hasher
2732indexadmin
2833indexmap
2934infohash
35+ Intermodal
3036jsonwebtoken
3137leechers
3238Leechers
@@ -49,13 +55,17 @@ reqwest
4955Roadmap
5056ROADMAP
5157rowid
58+ RUSTDOCFLAGS
59+ RUSTFLAGS
5260sgxj
5361singlepart
5462sqlx
5563strftime
5664sublicensable
5765sublist
5866subpoints
67+ Swatinem
68+ taiki
5969tempdir
6070tempfile
6171thiserror
You can’t perform that action at this time.
0 commit comments