Repository navigation
Expand file tree
/
Copy pathcodecov.yml
More file actions
64 lines (61 loc) · 3.17 KB
/
Copy pathcodecov.yml
File metadata and controls
64 lines (61 loc) · 3.17 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Codecov configuration. The badge in the README reflects what's reported here.
#
# Files excluded from coverage on purpose. Each file's own header comment
# explains why; the short version:
#
# - crates/postbin-ultra/src/update.rs — self-update via GitHub
# releases API. Pure
# helpers (parse_semver,
# is_newer) are unit-
# tested directly; the
# network paths can't be
# deterministically
# exercised.
# - crates/postbin-ultra-desktop/src/main.rs — eframe entry; wraps the
# tested DesktopApp::new.
# - crates/postbin-ultra-desktop/src/app.rs — eframe::App impl. Pure
# rendering. Pure-data
# helpers (build_raw,
# format_label,
# forwarded_tab_label,
# …) ARE unit-tested
# inline; the egui
# layout passes can't
# be driven from a unit
# test.
# - crates/postbin-ultra-desktop/src/widgets.rs — egui widgets. Tested
# indirectly via state
# and visual smoke
# tests.
# - crates/postbin-ultra-desktop/src/icon.rs — bytes-to-IconData. Pure
# embedded asset glue.
# - crates/postbin-ultra-desktop/src/fonts.rs — registers bundled font
# files via include_bytes!.
# - crates/postbin-ultra-desktop/src/update.rs — same as the lib's
# update.rs (network).
# - tools/** — manual build-time tools
# (icon-gen).
coverage:
status:
project:
default:
target: auto
threshold: 1%
informational: false
patch:
default:
target: 90%
threshold: 5%
ignore:
- "crates/postbin-ultra-desktop/src/main.rs"
- "crates/postbin-ultra-desktop/src/app.rs"
- "crates/postbin-ultra-desktop/src/widgets.rs"
- "crates/postbin-ultra-desktop/src/icon.rs"
- "crates/postbin-ultra-desktop/src/fonts.rs"
- "crates/postbin-ultra-desktop/src/update.rs"
- "crates/postbin-ultra/src/update.rs"
- "tools/**"
comment:
layout: "diff, flags, files"
behavior: default
require_changes: false