From 429c92e38380d3f63704e77d838152dc8729ddd0 Mon Sep 17 00:00:00 2001 From: Gerrod Ubben Date: Mon, 8 Jun 2026 17:05:34 -0400 Subject: [PATCH] Add PYTEST_MARK makefile var to cookiecutter --- cookiecutter/ci/{{ cookiecutter.__project_name }}/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cookiecutter/ci/{{ cookiecutter.__project_name }}/Makefile b/cookiecutter/ci/{{ cookiecutter.__project_name }}/Makefile index c01d35be7..d9082781e 100644 --- a/cookiecutter/ci/{{ cookiecutter.__project_name }}/Makefile +++ b/cookiecutter/ci/{{ cookiecutter.__project_name }}/Makefile @@ -71,9 +71,11 @@ _test: | tests/cli.toml test: uv run $(MAKE) _test +PYTEST_MARK ?= live + .PHONY: _livetest _livetest: | tests/cli.toml - pytest -v tests {%- if cookiecutter.glue %} pulp-glue{{ cookiecutter.__app_label_suffix }}/tests {%- endif %} -m live + pytest -v tests {%- if cookiecutter.glue %} pulp-glue{{ cookiecutter.__app_label_suffix }}/tests {%- endif %} -m "$(PYTEST_MARK)" .PHONY: livetest livetest: