Skip to content

Commit

Permalink
Use resultsdir for pytest cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Čáp committed Nov 13, 2023
1 parent 796b2aa commit d93aea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d93aea8

Please sign in to comment.