File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
tools/make/lib/coverage-service Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 44# Define the command for `node`:
55NODE ?= node
66
7- # Define the command for `cat`:
8- CAT ?= cat
9- CAT_FLAGS ?=
10-
117# Define the path to the [Codecov][1] executable.
128#
139# [1]: https://github.com/codecov/codecov-bash
@@ -16,9 +12,11 @@ CODECOV ?= bash <(curl -s https://codecov.io/bash)
1612
1713# Define the command-line options to be used when reporting coverage statistics:
1814CODECOV_FLAGS ?= \
15+ -f "$(LCOV_INFO ) " \
1916 -F $(CI_SERVICE ) \
2017 -F $(shell echo $(KERNEL ) | tr '[:upper:]' '[:lower:]') \
21- -F $(shell $(NODE ) --version | tr '\.' '_' | (printf 'node_' && $(CAT ) ) )
18+ -F $(shell $(NODE ) --version | tr '\.' '_' | (printf 'node_' && $(CAT ) ) ) \
19+ -Z
2220
2321ifdef COVERAGE_NAME
2422 CODECOV_FLAGS := $(CODECOV_FLAGS) -F $(COVERAGE_NAME)
@@ -36,8 +34,9 @@ CODECOV_CONF ?= $(ROOT)/.codecov.yml
3634#
3735# [1]: https://codecov.io/
3836
37+ coverage-codecov : SHELL := /bin/bash
3938coverage-codecov :
40- $(QUIET ) $(CAT ) $( CAT_FLAGS ) $( LCOV_INFO ) | $( CODECOV ) $(CODECOV_FLAGS ) || echo " Failed to upload coverage reports to Codecov. :( "
39+ $(QUIET ) $(CODECOV ) $(CODECOV_FLAGS ) || echo ' Failed to upload coverage reports to Codecov.'
4140
4241.PHONY : coverage-codecov
4342
You can’t perform that action at this time.
0 commit comments