This is an automated email from the ASF dual-hosted git repository.

mboehm7 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/main by this push:
     new 040ad33847 [MINOR] Add codecov.yml to disable patch evaluation
040ad33847 is described below

commit 040ad33847763157f6aaffe072edfd646cda71d4
Author: Matthias Boehm <mboe...@gmail.com>
AuthorDate: Wed Aug 21 10:13:05 2024 +0200

    [MINOR] Add codecov.yml to disable patch evaluation
    
    This change adds the codecov.yml file to disable (apart from the useful
    project coverage report) the patch report and check because it is not
    useful at all (aggregate coverage of all touched files even if only
    a single line was changed).
---
 codecov.yml | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/codecov.yml b/codecov.yml
new file mode 100644
index 0000000000..40c0e1720b
--- /dev/null
+++ b/codecov.yml
@@ -0,0 +1,34 @@
+#-------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#-------------------------------------------------------------
+
+# validation:
+# curl -X POST --data-binary @codecov.yml https://codecov.io/validate
+
+coverage:
+  status:
+    patch: no
+    project:
+      default:
+        threshold: 1%
+        if_not_found: success
+    changes: no
+  precision: 2
+  range: "75...100"

Reply via email to