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

Only run github action if related files are changed #214

Open
montyly opened this issue Feb 15, 2023 · 3 comments
Open

Only run github action if related files are changed #214

montyly opened this issue Feb 15, 2023 · 3 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@montyly
Copy link
Member

montyly commented Feb 15, 2023

For example when we change markdown files that are not related to Echidna, we should not run all the echidna tests

@montyly montyly added good first issue Good for newcomers help wanted Extra attention is needed labels Feb 15, 2023
@montyly montyly changed the title Only run github action if related files are run Only run github action if related files are changed Feb 15, 2023
@ggrieco-tob
Copy link
Member

Perhaps @elopez has some idea on how to solve this, since it looks like a "generic CI issue".

@elopez
Copy link
Member

elopez commented Feb 15, 2023

@tuturu-tech
Copy link
Contributor

We could use something like https://github.com/dorny/paths-filter or https://github.com/MarceloPrado/has-changed-path to conditionally execute the action steps. E.g. if only Echidna exercise 4 is updated then there's no need to run all exercise tests in the Echidna action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants