From d93aea88fbc71acce250bebb05a7748c96bfcb17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20=C4=8C=C3=A1p?= Date: Mon, 13 Nov 2023 13:00:46 +0100 Subject: [PATCH] Use resultsdir for pytest cache --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f5c64372..de7e55cf 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ else resultsdir ?= . endif -PYTEST = poetry run python -m pytest --tb=$(TB) +PYTEST = poetry run python -m pytest --tb=$(TB) -o cache_dir=$(resultsdir)/.pytest_cache.$(@F) ifdef junit PYTEST += --junitxml=$(resultsdir)/junit-$(@F).xml -o junit_suite_name=$(@F)