-
Notifications
You must be signed in to change notification settings - Fork 435
Split CI script into separate GitHub Actions steps #4357
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
base: main
Are you sure you want to change the base?
Conversation
|
👋 Hi! I see this is a draft PR. |
ci/ci-tests.sh
Outdated
| } | ||
|
|
||
| # Initialize GitHub Actions Job Summary | ||
| if [ -n "$GITHUB_STEP_SUMMARY" ]; then |
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.
Given this is just nice printing should we always turn it on rather than only for CI?
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 can do that, but in which file would you want to save the output? The file is, during CI, in $GITHUB_STEP_SUMMARY
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.
Oh I just skimmed it and thought it printed didn't write to a 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.
Wasn't happy with the way github does the step summary. Now pushed a different approach that just splits up the workflow in more granular steps.
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.
Bleh, no, ci-tests.sh exists so that we're not tied to github and so that people can run it locally. Splitting it into a million bits breaks those existing goals.
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.
You can still run ci-tests.sh
13792ed to
03aa9f1
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4357 +/- ##
==========================================
+ Coverage 86.08% 86.11% +0.03%
==========================================
Files 156 156
Lines 102428 102610 +182
Branches 102428 102610 +182
==========================================
+ Hits 88179 88367 +188
+ Misses 11754 11748 -6
Partials 2495 2495
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Not happy with this yet, exploring other options. |
This allows GitHub Actions to show individual test step progress in the UI, making it easier to identify which specific test phase failed without scrolling through logs. The ci-tests.sh script now accepts an optional step name argument. When provided, it runs only that step. When omitted, it runs all steps as before, preserving backward compatibility for local testing. Co-Authored-By: Claude Opus 4.5 <[email protected]>
4f74e2d to
6f524c7
Compare
Summary
ci-tests.shto accept an optional step name argument, running only that step when providedbuild.yml./ci/ci-tests.shwithout arguments still executes all stepsMotivation
GitHub Actions UI now shows individual test step progress, making it easier to identify which specific test phase failed without scrolling through logs.