瀏覽代碼

Codecov: don't post status until 2 builds received

We currently upload unit test coverage and UI test coverage separately.
This tells Codecov to not compute/notify coverage until both are received.

This _should_ prevent the flopping coverage when one of the test suites fails,
or when CI is skipped (due to no code changes, for example, for Drone)

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Álvaro Brey 2 年之前
父節點
當前提交
b858f84e14
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      .codecov.yml

+ 2 - 0
.codecov.yml

@@ -2,6 +2,8 @@ codecov:
   branch: master
   ci:
     - drone.nextcloud.com
+  notify:
+    after_n_builds: 2
 
 coverage:
   precision: 2