Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set XDG_CACHE_HOME #208

Merged
merged 7 commits into from
Aug 9, 2023
Merged

Set XDG_CACHE_HOME #208

merged 7 commits into from
Aug 9, 2023

Conversation

cidrblock
Copy link
Collaborator

@cidrblock cidrblock commented Aug 9, 2023

Fixes #206

As a courtesy, set the XDG_CACHE_HOME to the tox envdir/.cache. This will help avoid cross contamination between tox environments and additionally allow molecule to use the tox env dir for it's ephemeral directory.

Add some tests to ensure the configurations are intact and the envvar is set for each.

@cidrblock cidrblock requested a review from ssbarnea as a code owner August 9, 2023 16:35
@cidrblock cidrblock requested a review from greg-hellings August 9, 2023 16:37
@cidrblock cidrblock merged commit d111547 into ansible:main Aug 9, 2023
cidrblock added a commit to cidrblock/tox-ansible that referenced this pull request Aug 9, 2023
* Set XDG_CACHE_HOME

* Delete settings.json

* Fomatting fix

* Empty environ

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix for type env

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
cidrblock added a commit that referenced this pull request Aug 9, 2023
* Avoid full dep install prior to tox run

* Set XDG_CACHE_HOME (#208)

* Set XDG_CACHE_HOME

* Delete settings.json

* Fomatting fix

* Empty environ

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix for type env

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set XDG_CACHE_HOME
2 participants