Skip to content

CI: for fast CI dev flow - build only changed workflows #2510

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

Open
Anton-Latukha opened this issue Dec 19, 2021 · 1 comment
Open

CI: for fast CI dev flow - build only changed workflows #2510

Anton-Latukha opened this issue Dec 19, 2021 · 1 comment
Labels
CI Continuous integration level: easy The issue is suited for beginners type: enhancement New feature or request

Comments

@Anton-Latukha
Copy link
Collaborator

Anton-Latukha commented Dec 19, 2021

Description:

Contributions to the CI now have to pass a {test, bench, nix} workflows, which takes ~2 hours per loop & keeps those runners occupied & devs waiting vacuously.

Describe the solution you'd like

(probably by configuring skip-duplicate-actions): Changes to according CI workflow should trigger mostly only that workflow & maybe related ones.

Additional context

I tried to enumerate files directly in d7c1a5a, which in #2506 (comment) is described & has a link to the build.

Later I changed caching only by changing docs & CI still ran into #2506 (comment).

@jneira jneira added the CI Continuous integration label Dec 19, 2021
@Anton-Latukha Anton-Latukha changed the title CI: for fast CI dev flow - skip workflows that did not changed CI: for fast CI dev flow - build only changed workflows Dec 21, 2021
@sloorush
Copy link
Contributor

Hey!
The best solution looks like using skip-duplicate-actions.

But I saw that in #2506 (comment), you have mentioned that it was not working.

I want to work on this. Can you guide me on where to look to solve this?

@michaelpj michaelpj added level: easy The issue is suited for beginners and removed old_good first issue labels Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous integration level: easy The issue is suited for beginners type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants