forked from Comfy-Org/ComfyUI_frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
57 lines (52 loc) · 1.43 KB
/
Copy pathcodecov.yml
File metadata and controls
57 lines (52 loc) · 1.43 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
coverage:
status:
project:
# Keep website coverage from lowering the existing frontend status.
default:
target: auto
flags:
- unit
- e2e
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
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