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

Avoid full dep install prior to tox run #207

Merged
merged 3 commits into from
Aug 9, 2023

Conversation

cidrblock
Copy link
Collaborator

For the base python interpreter, only tox and tox-ansible should be needed since the collection specific deps will be installed per environment by the plugin.

This should save some set-up time and the full dep list is not needed in the base.

@cidrblock
Copy link
Collaborator Author

@hille721 Mind having a look?

* 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
Copy link
Collaborator Author

Gonna push this one in so it can be tested. Will report back.

@cidrblock cidrblock merged commit e777dd5 into ansible:main Aug 9, 2023
8 checks passed
@cidrblock
Copy link
Collaborator Author

cidrblock commented Aug 9, 2023

Looks good for this commit:

https://github.com/ansible-collections/ansible.scm/actions/runs/5812294815/job/15757373073?pr=227

10s savings, (17s vs 7s)

@hille721
Copy link
Contributor

hille721 commented Aug 9, 2023

@hille721 Mind having a look?

I'm not using the gh action so far as I'm in my companies own Gitlab. But in the Gitlab CI there I also just install tox-ansible.

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.

2 participants