emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/bnf-mode 228b3fd 26/43: Setup codecov.io


From: Stefan Monnier
Subject: [elpa] externals/bnf-mode 228b3fd 26/43: Setup codecov.io
Date: Mon, 20 Jan 2020 13:39:03 -0500 (EST)

branch: externals/bnf-mode
commit 228b3fd844ee5041540346ee0f43bf13539ef906
Author: Serghei Iakovlev <address@hidden>
Commit: Serghei Iakovlev <address@hidden>

    Setup codecov.io
---
 .codecov.yml                | 54 +++++++++++++++++++++++++++++++++++++++++++++
 .github/workflows/build.yml |  2 +-
 2 files changed, 55 insertions(+), 1 deletion(-)

diff --git a/.codecov.yml b/.codecov.yml
new file mode 100644
index 0000000..1751a40
--- /dev/null
+++ b/.codecov.yml
@@ -0,0 +1,54 @@
+# Copyright (C) 2019-2020 Serghei Iakovlev
+#
+# License
+#
+# This file is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 3
+# of the License, or (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+codecov:
+  notify:
+    # will no delay sending notifications until all ci is finished
+    require_ci_to_pass: no
+
+coverage:
+  precision: 2
+  round: down
+  range: "65...90"
+
+  status:
+    project:
+      default:
+        # the amount that coverage can drop while still posting a success
+        threshold: 1%
+    patch: no
+    changes: no
+
+comment:
+  layout: diff
+  behavior: default
+  require_changes: false
+
+ignore:
+  - ".git"
+  - "*.yml"
+  - "*.json"
+  - "*.md"
+  - "*.mk"
+  - "*.txt"
+
+  # ignore folders and all its contents
+  - ".cask/.*"
+  - ".github/.*"
+  - "test/.*"
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 80a01ef..0e66c26 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -92,7 +92,7 @@ jobs:
         uses: codecov/codecov-action@v1
         with:
           token: ${{ secrets.CODECOV_TOKEN }}
-          # yml: ./.codecov.yml
+          yml: ./.codecov.yml
           name: codecov-umbrella
           flags: unittests
           fail_ci_if_error: false



reply via email to

[Prev in Thread] Current Thread [Next in Thread]