Skip to content

Commit b0005b7

Browse files
committed
adds params
1 parent 69cf7cb commit b0005b7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/common-service.Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ install-dev install-prod install-ci: _check_venv_active ## install app in develo
4444
.PHONY: test-dev-unit test-ci-unit test-dev-integration test-ci-integration test-dev
4545

4646
TEST_PATH := $(if $(test-path),/$(patsubst tests/integration/%,%, $(patsubst tests/unit/%,%, $(patsubst %/,%,$(test-path)))),)
47+
4748
test-dev-unit test-ci-unit: _check_venv_active ## run app unit tests (specifying test-path can restrict to a folder)
4849
# Targets tests/unit folder
4950
@make --no-print-directory _run-$(subst -unit,,$@) target=$(CURDIR)/tests/unit$(TEST_PATH)
@@ -167,12 +168,12 @@ _run-test-ci: _check_venv_active
167168
--cov-config=.coveragerc \
168169
--cov-report=term-missing \
169170
--cov-report=xml \
170-
--junitxml=junit.xml -o junit_family=legacy \
171171
--cov=$(APP_PACKAGE_NAME) \
172172
--durations=10 \
173+
--junitxml=junit.xml -o junit_family=legacy \
173174
--keep-docker-up \
174175
--log-date-format="%Y-%m-%d %H:%M:%S" \
175-
--log-format="%(asctime)s %(levelname)s %(message)s" \
176+
--log-format="%(asctime)s %(levelname)s %(message)s" \
176177
--verbose \
177178
-m "not heavy_load" \
178179
$(PYTEST_ADDITIONAL_PARAMETERS) \

0 commit comments

Comments
 (0)