WIP Use a custom cache directory for test_stepwise tests#4378
WIP Use a custom cache directory for test_stepwise tests#4378nicoddemus wants to merge 1 commit intopytest-dev:masterfrom
Conversation
Otherwise the tests will use tox's env cache which makes them flaky
|
wrong fix - pytester should fix this in general for everything |
Hmm indeed. Any suggestion on how to do this? I'm thinking of changing the |
|
@nicoddemus i believe it would do us good to clean up the env variables |
Sorry, I'm not following, what do environment variables have to do with the cache dir? 🤔 |
|
i was thinking of #4271 |
|
#4271 appears to not have fixed it by itself: it was merged already with the above failure, no? |
|
In #4271, |
|
Let's rename it to |
|
But maybe pytester by itself could do it already. |
Yeah I think that was @RonnyPfannschmidt's suggestion. |
Codecov Report
@@ Coverage Diff @@
## master #4378 +/- ##
==========================================
+ Coverage 95.82% 95.84% +0.02%
==========================================
Files 111 111
Lines 24928 24929 +1
Branches 2431 2431
==========================================
+ Hits 23887 23893 +6
+ Misses 740 738 -2
+ Partials 301 298 -3
Continue to review full report at Codecov.
|
|
Follow-up in #4382. |
Otherwise the tests will use tox's env cache which makes them flaky
Example failure:
https://travis-ci.org/pytest-dev/pytest/jobs/454100204