-
Notifications
You must be signed in to change notification settings - Fork 692
Expand file tree
/
Copy pathcodecov.yml
More file actions
63 lines (57 loc) · 1.82 KB
/
Copy pathcodecov.yml
File metadata and controls
63 lines (57 loc) · 1.82 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
coverage:
status:
project:
# Disable the project-wide status entirely: the merge queue uses ALLGREEN,
# and total-project coverage dips were blocking merges. Patch coverage below
# still covers the diff.
default: false
website:
target: auto
threshold: '1%'
informational: true
flags:
- website-unit
paths:
- apps/website/src/**
flag_coverage_not_uploaded_behavior: pass
patch:
default:
informational: true
# Require 80% coverage on changed website lines.
website:
target: '80%'
threshold: '0%'
informational: false
flags:
- website-unit
paths:
- apps/website/src/**
flag_coverage_not_uploaded_behavior: pass
# Coverage is instrumented over src/** only (see `coverage.include` in
# vite.config.mts), so build and developer tooling has no coverage data to
# report. Without this, changing a file under tools/ counts every one of its
# lines as a patch miss even when the change is covered by its own tests.
ignore:
- 'tools/**'
- 'scripts/**'
comment:
layout: 'header, diff, flags, files'
behavior: default
require_changes: false
require_base: false
require_head: true
# Carry forward the last known coverage for a flag when its upload is missing or
# late. The `e2e` flag is uploaded by a separate workflow_run job that can fail
# or arrive after Codecov has already computed the patch status; without this,
# E2E-only code paths show up as patch misses and the patch status fails. See
# https://docs.codecov.com/docs/carryforward-flags
flags:
unit:
carryforward: true
e2e:
carryforward: true
# Do not hide missing website coverage with stale data.
website-unit:
paths:
- apps/website/src/**
carryforward: false