Browse Source

chore(ci): add informational Codecov status checks

we were usng Codecov but weren't actually getting any notifications on pull requests.
Update codecov.yml
Removing `after_n_builds` as there is only 1 build
Tom Hu 2 years ago
parent
commit
1f3605b98a
4 changed files with 10 additions and 4 deletions
  1. 1 0
      CHANGELOG.txt
  2. 1 0
      CONTRIBUTORS.rst
  3. 6 3
      codecov.yml
  4. 2 1
      docs/releases/4.0.md

+ 1 - 0
CHANGELOG.txt

@@ -12,6 +12,7 @@ Changelog
  * Use `InlinePanel`'s label when available for field comparison label (Sandil Ranasinghe)
  * Drop support for Safari 13 by removing left/right positioning in favour of CSS logical properties (Thibaud Colas)
  * Use `FormData` instead of jQuery's `form.serialize` when editing documents or images just added so that additional fields can be better supported (Stefan Hammer)
+ * Add informational Codecov status checks for GitHub CI pipelines (Tom Hu)
  * Fix: Typo in `ResumeWorkflowActionFormatter` message (Stefan Hammer)
  * Fix: Throw a meaningful error when saving an image to an unrecognised image format (Christian Franke)
 

+ 1 - 0
CONTRIBUTORS.rst

@@ -597,6 +597,7 @@ Contributors
 * Przemysław Buczkowski
 * Josh Woodcock
 * Christian Franke
+* Tom Hu
 
 Translators
 ===========

+ 6 - 3
codecov.yml

@@ -1,11 +1,14 @@
 codecov:
   notify:
-    after_n_builds: 10
     require_ci_to_pass: no
 
 coverage:
   status:
-    project: off
-    patch: off
+    project:
+      default:
+        informational: true
+    patch:
+      default:
+        informational: true
 
 comment: off

+ 2 - 1
docs/releases/4.0.md

@@ -16,8 +16,9 @@ depth: 1
  * Add `base_url_path` to `ModelAdmin` so that the default URL structure of app_label/model_name can be overridden (Vu Pham, Khanh Hoang)
  * Add `full_url` to the API output of `ImageRenditionField` (Paarth Agarwal)
  * Use `InlinePanel`'s label when available for field comparison label (Sandil Ranasinghe)
- * Use `FormData` instead of jQuery's `form.serialize` when editing documents or images just added so that additional fields can be better supported (Stefan Hammer)
  * Drop support for Safari 13 by removing left/right positioning in favour of CSS logical properties (Thibaud Colas)
+ * Use `FormData` instead of jQuery's `form.serialize` when editing documents or images just added so that additional fields can be better supported (Stefan Hammer)
+ * Add informational Codecov status checks for GitHub CI pipelines (Tom Hu)
 
 ### Bug fixes