-
Notifications
You must be signed in to change notification settings - Fork 193
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
Too many redundant tests executed on dev to master release for pipelines #3400
Comments
A similar case is for the download test too: #3399 |
Example PR when we had many duplicate tests: nf-core/taxprofiler#563 |
I am happy to add changes to the currently open PR #3399, but I think we should discuss first which changes we want? For example,
The triggers for
To achieve this behavior, one could either restrict the trigger to newly/re- opened PRs
or add a In that case, no CI would run, if there is not yet an open release PR from |
I would need to check the exact behaviour myself, but I think on open/reopen would be ok to me for the time being. |
Checking this again, I think @MatthiasZepper suggestion to remove @MatthiasZepper let me know if you would like to add these changes to your opened PR or should I do it :) |
I am fine with adding that to the open PR when we have a decision. I think, the key question when dropping |
If someone is pushing to dev directly either they run the tests manually with the |
Description of the bug
When doing a release procedure, and a PR from dev is opened against master, when changes are made to dev during review, we see all CI tests running duplicated.
This is because tests are triggered for both
pull-request
andpushes
. There was an assumption previously that thepull-request
trigger only happened on opening, but actually it seems to trigger on any change to the PR (in addition to the push).This can be very wasteful for pipelines with many tests, e.g. a release PR for taxprofiler as 11 tests x 2 nextflow versions x 3 container engines = 66, which when we have all of those being triggered for both PR change and push to the PR, results in >120 tests.
The text was updated successfully, but these errors were encountered: