Repository navigation
Expand file tree
/
Copy pathcodecov.yml
More file actions
58 lines (58 loc) · 1.88 KB
/
Copy pathcodecov.yml
File metadata and controls
58 lines (58 loc) · 1.88 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
codecov:
branch: main
notify:
# Statuses and the comment wait for `coverage-notify` in test.yml, which
# runs once every suite that uploads has finished, not after each upload.
manual_trigger: true
# Create the comment only once coverage drops, so a pull request that never
# lowers it (docs, CI config) gets none; a comment once made is kept updated.
comment:
require_changes: "coverage_drop"
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
# Every suite that uploads a report, so the status matches the comment.
# Leaving the spec-conformance suites out made the status blind to the
# code they cover: a change to the CSS or HTML parser reads as a drop,
# because the suite that exercises it does not count toward the total.
flags:
- unit
- integration
- test262
- spec
target: auto
# Timing-dependent lines flip between runs, so a PR that changes no
# code still moves the total by about 0.01%.
threshold: 0.05%
patch:
default:
flags:
- unit
- integration
target: 90%
base: pr
changes:
default:
flags:
- unit
- integration
informational: true
ignore:
- "**/*.runtime.js"
- "schemas/**/*"
- "examples/**/*"
# Benchmark harnesses, not code webpack ships: what they measure is another
# tool, and most of each one is only reachable from a ten-minute sweep or a
# spawned worker. A test that loads one entered its whole file in the metric.
- "tooling/compare-css-tools.js"
- "tooling/compare-html-tools.js"
- "tooling/compare-js-tools.js"
- "tooling/compare-xml-tools.js"
# TODO in the next major release: remove
- "lib/template/ChunkTemplate.js"
- "lib/template/MainTemplate.js"
- "lib/template/ModuleTemplate.js"