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>
This commit is contained in:
Álvaro Brey 2023-01-31 09:30:55 +01:00
parent 051513d777
commit b858f84e14
No known key found for this signature in database
GPG Key ID: 2585783189A62105
1 changed files with 2 additions and 0 deletions

View File

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