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
Do not run regress workflows on benign changes #5156
Conversation
ec6f5b3
to
ef3f27f
Compare
@svenklemm, @shhnwz: please review this pull request.
|
829721d
to
4955914
Compare
Strange that it adds reviewers also for draft PRs. |
Codecov Report
@@ Coverage Diff @@
## main #5156 +/- ##
==========================================
- Coverage 89.26% 89.24% -0.03%
==========================================
Files 225 225
Lines 51756 51755 -1
==========================================
- Hits 46201 46187 -14
- Misses 5555 5568 +13
Continue to review full report at Codecov.
|
4955914
to
19cbc86
Compare
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.
Ideally we also make this an opt-in in the commit-message/pr comment
Would be ideal, but the |
- '**.md' | ||
- LICENSE | ||
- NOTICE | ||
- 'bootstrap*' |
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.
Why are the bootstrap files excluded? Shouldn't we test the commit when they change?
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.
We are not using the bootstrap file for windows, but we are using it for the linux builds. Fixed.
@@ -4,7 +4,17 @@ on: | |||
branches: | |||
- main | |||
- prerelease_test | |||
paths-ignore: | |||
- '**.md' | |||
- LICENSE |
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.
We could add LICENSE-TIMESCALE
as well to the list.
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.
Added LICENSE*
.
@@ -0,0 +1,16 @@ | |||
# Test our shell scripts for bugs |
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.
I suggest adding a comment to the new -ignored
workflows, why we need them.
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.
Added a comment to the beginning of each file.
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.
Too bad github still doesn't support early exit: actions/runner#662
We could've done without extra files if we could use early exit and changed paths filter (https://github.com/marketplace/actions/paths-changes-filter)
19cbc86
to
45c6542
Compare
If only documentation is changed, the full regression check workflow will still be executed, so this commit will instead skip running the regression workflows if there are only changes to files that will not affect the success of the workflow.
45c6542
to
e8ea493
Compare
The workflow ignore files for 32-bit Linux builds and Windows was missing from timescale#5156 so these are added here.
The workflow ignore files for 32-bit Linux builds and Windows was missing from timescale#5156 so these are added here.
The workflow ignore files for 32-bit Linux builds and Windows was missing from #5156 so these are added here.
If only documentation is changed, the full regression check workflow will still be executed, so this commit will instead skip running the regression workflows if there are only changes to files that will not affect the success of the workflow.