]> git.proxmox.com Git - zfsonlinux.git/blob - zfs-patches/0009-Update-codecov.yml.patch
update SPL to 0.7.7
[zfsonlinux.git] / zfs-patches / 0009-Update-codecov.yml.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Brian Behlendorf <behlendorf1@llnl.gov>
3 Date: Fri, 22 Sep 2017 18:54:34 -0700
4 Subject: [PATCH] Update codecov.yml
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Update the codecov.yml to make the following functional changes.
10
11 * Do not require the CI testing to pass before posting results.
12 * Set red-yellow-green coverage percent from 50%-100%
13 * Allow a 1% drop in coverage to still be considered a pass.
14 * Reduce the size of the comment posted to the issue.
15
16 Additionally, the top level README.markdown has been updated
17 to include the codecov.io badge and the project summary reworded.
18
19 Reviewed-by: Prakash Surya <prakash.surya@delphix.com>
20 Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
21 Closes #6669
22 (cherry picked from commit 3790bfa80f9b26fd750b4a554c5707b9d380aac4)
23 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
24 ---
25 README.markdown | 12 ++++++------
26 .github/codecov.yml | 31 ++++++++++++++++++++++++++-----
27 2 files changed, 32 insertions(+), 11 deletions(-)
28
29 diff --git a/README.markdown b/README.markdown
30 index fd2ca8c86..1c305b35d 100644
31 --- a/README.markdown
32 +++ b/README.markdown
33 @@ -1,9 +1,9 @@
34 -<p align="center"><img src="http://zfsonlinux.org/images/zfs-linux.png"/></p>
35 -ZFS is an advanced file system and volume manager which was originally
36 -developed for Solaris and is now maintained by the Illumos community.
37 +![img](http://zfsonlinux.org/images/zfs-linux.png)
38
39 -ZFS on Linux, which is also known as ZoL, is currently feature complete. It
40 -includes fully functional and stable SPA, DMU, ZVOL, and ZPL layers. And it's native!
41 +ZFS on Linux is an advanced file system and volume manager which was originally
42 +developed for Solaris and is now maintained by the OpenZFS community.
43 +
44 +[![codecov](https://codecov.io/gh/zfsonlinux/zfs/branch/master/graph/badge.svg)](https://codecov.io/gh/zfsonlinux/zfs)
45
46 # Official Resources
47 * [Site](http://zfsonlinux.org)
48 @@ -16,4 +16,4 @@ Full documentation for installing ZoL on your favorite Linux distribution can
49 be found at [our site](http://zfsonlinux.org/).
50
51 # Contribute & Develop
52 -We have a separate document with [contribution guidelines](./.github/CONTRIBUTING.md).
53 \ No newline at end of file
54 +We have a separate document with [contribution guidelines](./.github/CONTRIBUTING.md).
55 diff --git a/.github/codecov.yml b/.github/codecov.yml
56 index f36be39cb..e74c59a0f 100644
57 --- a/.github/codecov.yml
58 +++ b/.github/codecov.yml
59 @@ -1,9 +1,30 @@
60 codecov:
61 - strict_yaml_branch: master # only use the latest copy on master branch
62 -
63 -comment: off
64 + notify:
65 + require_ci_to_pass: no
66
67 coverage:
68 + precision: 2
69 + round: down
70 + range: "50...100"
71 +
72 status:
73 - project: off
74 - patch: off
75 + project:
76 + default:
77 + threshold: 1%
78 +
79 + patch:
80 + default:
81 + threshold: 1%
82 +
83 +parsers:
84 + gcov:
85 + branch_detection:
86 + conditional: yes
87 + loop: yes
88 + method: no
89 + macro: no
90 +
91 +comment:
92 + layout: "header, sunburst, diff"
93 + behavior: default
94 + require_changes: no
95 --
96 2.14.2
97