Skip to content

Commit db4d9ed

Browse files
committed
Use codecov-python on Windows
1 parent a09d978 commit db4d9ed

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11

22
# VARIABLES #
33

4-
# Define the path to the [Codecov][1] executable.
4+
# Define the [Codecov][1] executable.
55
#
66
# [1]: https://github.com/codecov/codecov-bash
7-
8-
CODECOV ?= bash <(curl -s https://codecov.io/bash)
7+
# [2]: https://github.com/codecov/codecov-python
8+
ifeq ($(OS), WINNT)
9+
CODECOV ?= pip install --user codecov && codecov
10+
else
11+
CODECOV ?= bash <(curl -s https://codecov.io/bash)
12+
endif
913

1014
# Define the command-line options to be used when reporting coverage statistics:
1115
CODECOV_FLAGS ?= \

0 commit comments

Comments
 (0)