-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathcodecov.yml
More file actions
38 lines (36 loc) · 1.58 KB
/
Copy pathcodecov.yml
File metadata and controls
38 lines (36 loc) · 1.58 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
# Codecov configuration for CODES. https://docs.codecov.com/docs/codecov-yaml
#
# Coverage is reported on PRs and commits but is INFORMATIONAL for now — it
# annotates without failing checks, so it can't block a merge before the project
# has an established baseline. Flip `informational: false` once coverage is
# trusted and you want it to gate.
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true
# Files/paths excluded from the coverage metric. The coverage CI job also strips
# matching paths via `lcov --remove`; this is the belt-and-suspenders side so the
# Codecov UI agrees with the uploaded report.
ignore:
- "tests/" # the test harness itself
- "**/configlex.*" # generated flex lexer (modelconfig)
- "**/configparser.*" # generated bison parser (modelconfig)
- "**/codeslexer.*" # generated flex lexer (iokernellang)
- "**/codesparser.*" # generated bison parser (iokernellang; .y not committed)
- "doc/" # examples/tutorials (the ping-pong example IS tested,
# but it's teaching code, not the product — revisit if
# you'd rather measure it)
# PR comment from the Codecov bot. The defaults already post a comment; this just
# makes it explicit. require_base/require_changes:false mean it still comments on
# the first PRs, before master has an established coverage baseline to diff
# against.
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false
require_base: false
require_head: true