-
-
Notifications
You must be signed in to change notification settings - Fork 750
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
Separate slow CI job to it's own workflow #3012
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3012 +/- ##
========================================
Coverage 99.99% 100.00%
========================================
Files 164 164
Lines 11997 11997
========================================
+ Hits 11996 11997 +1
+ Misses 1 0 -1
Continue to review full report at Codecov.
|
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.
Super sensible 👍🏻
workflow_dispatch: | ||
schedule: | ||
# 2am each night | ||
- cron: '00 2 * * *' |
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.
Since it's running on a schedule, how will we be alerted if it fails? Email?
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.
The GitHub altering on scheduled runs is a bit lacking to be honest. Long been complained about: https://git.luolix.topmunity/t/no-email-notification-on-schedule-cron-job-failure/119638/5
I think only the last person to alter it (me!) gets a notification. Which sucks to be honest.
Now to be honest this cron job isn’t really needed. I like it in case there is no activity on repo for a while (not something we have a problem with!!) so can see when something broke if, for example, dependencies update.
Brief summary of the change made
When GitHub Actions or Coverage experiences issues (as they are want to do!) we sometimes have to rerun the CI jobs. The Critical Rules Test is slow to run, but doesn't impact Coverage, so separate that out to it's own job so it doesn't need to be rerun if it passes.
Are there any other side effects of this change that we should be aware of?
Nope.
Pull Request checklist
Please confirm you have completed any of the necessary steps below.
Included test cases to demonstrate any code changes, which may be one or more of the following:
.yml
rule test cases intest/fixtures/rules/std_rule_cases
..sql
/.yml
parser test cases intest/fixtures/dialects
(note YML files can be auto generated withtox -e generate-fixture-yml
).test/fixtures/linter/autofix
.Added appropriate documentation for the change.
Created GitHub issues for any relevant followup/future enhancements if appropriate.