Skip to content

Commit 5594c96

Browse files
committed
chore: use codecov uploader from build-container
Also tweak codecov configuration. Signed-off-by: Alexey Palazhchenko <[email protected]>
1 parent cced038 commit 5594c96

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.codecov.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ codecov:
33
require_ci_to_pass: false
44

55
coverage:
6+
range: 25..75
7+
68
status:
79
project:
810
default:
9-
target: 15%
10-
threshold: 0.5%
11-
base: auto
11+
target: auto
12+
threshold: 1%
1213
if_ci_failed: success
1314
patch: off
1415

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ test: ## Run tests.
118118
cd internal/integration && KUBECONFIG=../../kubeconfig ./integration.test -test.v -test.coverprofile=../../coverage.txt
119119

120120
coverage: ## Upload coverage data to codecov.io.
121-
bash -c "bash <(curl -s https://codecov.io/bash) -f coverage.txt -X fix"
121+
/usr/local/bin/codecov -f coverage.txt -X fix
122122

123123
talosctl:
124124
curl -Lo talosctl https://github.com/talos-systems/talos/releases/download/$(TALOS_VERSION)/talosctl-$(shell uname -s | tr "[:upper:]" "[:lower:]")-amd64

0 commit comments

Comments
 (0)