Skip to content

Commit 67dc23a

Browse files
committed
Post the conf file to the Codecov validator
1 parent 593080f commit 67dc23a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/make/lib/coverage-service/codecov.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ CODECOV_CONF ?= $(ROOT)/.codecov.yml
3636
#
3737
# [1]: https://codecov.io/
3838

39-
coverage-codecov: validate-codecov-configuration
39+
coverage-codecov:
4040
$(QUIET) $(CAT) $(CAT_FLAGS) $(LCOV_INFO) | $(CODECOV) $(CODECOV_FLAGS) || echo "Failed to upload coverage reports to Codecov. :("
4141

4242
.PHONY: coverage-codecov
@@ -47,7 +47,7 @@ coverage-codecov: validate-codecov-configuration
4747
# This target validates a Codecov configuration file.
4848

4949
validate-codecov-configuration:
50-
$(QUIET) curl --data-binary $(CODECOV_CONF) https://codecov.io/validate
50+
$(QUIET) curl -X POST --data-binary @$(CODECOV_CONF) https://codecov.io/validate
5151

5252
.PHONY: validate-codecov-configuration
5353

0 commit comments

Comments
 (0)