Skip to content

Commit

Permalink
Merge pull request #277 from ficap/cache-dir
Browse files Browse the repository at this point in the history
Use resultsdir for pytest cache
  • Loading branch information
pehala authored Nov 13, 2023
2 parents 796b2aa + d93aea8 commit 4fdbdc2
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 4fdbdc2

Please sign in to comment.