Commit graph

10 commits

Author SHA1 Message Date
Álvaro Brey
24e3f035ff
Codecov: post comment only if there are coverage changes AND 2 reports have been received
We upload coverage for unit tests and integration tests separately.
This should prevent showing incorrect info and reduce spam

[skip ci]
[CI SKIP]

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-31 09:39:10 +01:00
Álvaro Brey
b858f84e14
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>
2023-01-31 09:30:55 +01:00
Álvaro Brey Vilas
d2aa5520c6
Fix .codecov.yml after src path change
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:17:23 +01:00
Álvaro Brey Vilas
2cb028eaee
Codecov: don't annotate diffs
It makes it really annoying to read diffs when our coverage isn't that good yet.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-17 20:08:45 +01:00
Álvaro Brey Vilas
447f2401a5
Codecov: wait for CI
Now that we don't have a permanently broken CI setup, this makes sense again, so we don't get coverage results based on partial tests

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-12 15:16:55 +01:00
Álvaro Brey Vilas
45e6388e0d
Codecov: don't require CI to pass
We have 3 independent builds in drone and we still want to see codecov if one of the other fails

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-09-30 12:54:00 +02:00
tobiasKaminsky
b262583094
set threshold
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-08-21 09:38:47 +02:00
Tobias Kaminsky
e2765fc5a4
Update .codecov.yml 2018-05-25 14:55:01 +02:00
tobiasKaminsky
425a2372ad
ignore translations files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-24 18:20:09 +02:00
tobiasKaminsky
76d3747748
Add support for integration tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-23 08:51:35 +02:00