-
Notifications
You must be signed in to change notification settings - Fork 38.7k
ci, windows: Do not run extended functional tests for pull requests #28360
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
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
b635549 to
0cf1c9e
Compare
0cf1c9e to
f8ccdb3
Compare
|
cc @MarcoFalke |
.github/workflows/ci.yml
Outdated
|
|
||
| - name: Run functional tests | ||
| env: | ||
| TEST_RUNNER_EXTRA: ${{ github.event_name != 'pull_request' && '--extended --exclude feature_dbcrash' || '' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| TEST_RUNNER_EXTRA: ${{ github.event_name != 'pull_request' && '--extended --exclude feature_dbcrash' || '' }} | |
| TEST_RUNNER_EXTRA: ${{ github.event_name != 'pull_request' && '--extended' || '' }} |
If there is a reason to exclude this, it should be mentioned
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we OK with an increased runtime:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feature_dbcrash.py | ✓ Passed | 7086 s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any downside?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there are any downsides, you can skip the functional tests on the master branch completely on job_id % n == 0, where n is the down-scaling factor, but then run them completely otherwise?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It takes one runner busy approximately twice longer than other runners. Of course, not a big deal, considering we are provided with 20 runners.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there are any downsides, you can skip the functional tests on the master branch completely on
job_id % n == 0, wherenis the down-scaling factor, but then run them completely otherwise?
Let's left it as is and see how it will go.
This change is intended to speed up the CI feedback for pull requests.
f8ccdb3 to
62ab3e9
Compare
|
It is green |
|
cc @fanquake |
…s for pull requests 62ab3e9 ci, windows: Do not run extended functional tests for pull requests (Hennadii Stepanov) Pull request description: This PR is intended to speed up the CI feedback for pull requests: - a [PR](https://github.com/bitcoin/bitcoin/actions/runs/6019964104?pr=28196) opened against the current master branch:  - this PR:  Suggested in bitcoin#28173 (comment): > An alternative would be to run them on non-pr pushes only. Failures should be rare enough to deal with them post-merge. ACKs for top commit: MarcoFalke: lgtm ACK 62ab3e9 if https://github.com/hebasto/bitcoin/actions/runs/6023862001/job/16341417883 is green Tree-SHA512: e937efc5c03290f5d246ce1b0638dc72f39ef1d509ba5d2063f92bfe9157c602e6a952a9558dfc6413bbc5209fe55280b3278a0e4079773b8cc9ff236c8f9246

This PR is intended to speed up the CI feedback for pull requests:
a PR opened against the current master branch:

this PR:

Suggested in #28173 (comment):