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

Don't run ruby tests on push to master #574

Merged
merged 2 commits into from
Nov 24, 2022
Merged

Don't run ruby tests on push to master #574

merged 2 commits into from
Nov 24, 2022

Conversation

stejskalleos
Copy link
Contributor

No description provided.

@nofaralfasi
Copy link
Contributor

Hi @Ron-Lavi, do you know if we need to run tests when things are merged to the master branch?

@Ron-Lavi Ron-Lavi merged commit 32e62c8 into master Nov 24, 2022
@ekohl ekohl deleted the ls/gh_and_master branch November 24, 2022 15:00
@ekohl
Copy link
Member

ekohl commented Nov 24, 2022

do you know if we need to run tests when things are merged to the master branch?

This creates caches which can be reused. It greatly speeds up PR testing between multiple users.

The background is that PR testing creates a cache that can only be used by the user who submitted the PR. If you also run it on test it creates a shared cache that's used for everyone.

I'd suggest to revert this change.

@nofaralfasi
Copy link
Contributor

If you also run it on test it creates a shared cache that's used for everyone.

What do you mean by that? Maybe you meant to say that if you also run the tests on master it creates a shared cache...
And thanks for the explanation @ekohl!

@ekohl
Copy link
Member

ekohl commented Nov 24, 2022

Yes, that is exactly what I intended.

For what it's worth, back in March I tried to unify all actions in reusable ones so most plugin authors don't need to think about it anymore. https://github.com/theforeman/actions is the repo and theforeman/actions#1 has a list of TODO items.

#519 needs a rebase after this PR, but that is how I think we should manage testing using GitHub Actions.

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.

5 participants