From 7744070568f403ab1a7004cded0cbf8a3f496b0b Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Wed, 22 Mar 2017 16:23:02 +0100 Subject: [PATCH] Use bash codecov --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 00b7dde..3d4e9a3 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,8 @@ export CI := false export COVERAGE := $(CI) export DETERMINISTIC_TESTS := false +CODECOV_PATH = /tmp/codecov.sh + PYTEST_ARGS = TEST_EXTRA_PACKAGES = ifeq ($(COVERAGE), true) @@ -17,15 +19,14 @@ ifeq ($(COVERAGE), true) endif ifeq ($(CI), true) - TEST_EXTRA_PACKAGES += codecov - test: + curl -s https://codecov.io/bash > $(CODECOV_PATH) py.test $(PYTEST_ARGS) tests/unit/ - codecov -F unit + bash $(CODECOV_PATH) -c -F unit py.test $(PYTEST_ARGS) tests/system/ - codecov -F system + bash $(CODECOV_PATH) -c -F system py.test $(PYTEST_ARGS) tests/storage/ - codecov -F storage + bash $(CODECOV_PATH) -c -F storage else test: py.test $(PYTEST_ARGS)