-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
59 lines (52 loc) · 1.07 KB
/
codecov.yml
File metadata and controls
59 lines (52 loc) · 1.07 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
# Codecov Configuration for testcontainers-swift
# https://docs.codecov.com/docs/codecov-yaml
codecov:
require_ci_to_pass: true
notify:
wait_for_ci: true
coverage:
precision: 2
round: down
range: "60...100"
status:
project:
default:
target: auto
threshold: 2%
if_ci_failed: error
patch:
default:
target: 70%
threshold: 5%
if_ci_failed: error
# Ignore paths that shouldn't be included in coverage
ignore:
- ".build/**/*"
- "Tests/**/*"
- "Examples/**/*"
- "**/*.generated.swift"
- "**/Mocks/**/*"
# Flag management for different test types
flags:
unittests:
paths:
- Sources/
carryforward: true
swift:
paths:
- Sources/Testcontainers/
carryforward: true
linux:
paths:
- Sources/
carryforward: true
# Comment configuration for PRs
comment:
layout: "header,diff,flags,components,tree,footer"
behavior: default
require_changes: false
require_base: false
require_head: true
# GitHub Checks integration
github_checks:
annotations: true