From 8b9be13757d33db59a36bd467dacf019192a041b Mon Sep 17 00:00:00 2001 From: Gerrod Ubben Date: Mon, 8 Jun 2026 14:22:08 -0400 Subject: [PATCH] Allow filtering livetest runs via PYTEST_MARK Plugin CI only needs live tests for a single component, but livetest currently runs the entire live suite. Add a PYTEST_MARK make variable (defaulting to live) so callers can run e.g. make livetest PYTEST_MARK="live and pulp_container". (cherry picked from commit 1633919ff9a63320fee3999787d73eb0a171c5af) --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a27e193ef..3fca8f48d 100644 --- a/Makefile +++ b/Makefile @@ -59,9 +59,11 @@ _test: | tests/cli.toml test: uv run $(MAKE) _test +PYTEST_MARK ?= live + .PHONY: _livetest _livetest: | tests/cli.toml - pytest -v tests pulp-glue/tests -m live + pytest -v tests pulp-glue/tests -m "$(PYTEST_MARK)" .PHONY: livetest livetest: