Skip to content

Conversation

@joostjager
Copy link
Contributor

@joostjager joostjager commented Jan 28, 2026

Summary

  • Modifies ci-tests.sh to accept an optional step name argument, running only that step when provided
  • Splits the single "Run CI script" workflow step into 18 individual steps in build.yml
  • Preserves backward compatibility: running ./ci/ci-tests.sh without arguments still executes all steps

Motivation

GitHub Actions UI now shows individual test step progress, making it easier to identify which specific test phase failed without scrolling through logs.

image

@ldk-reviews-bot
Copy link

👋 Hi! I see this is a draft PR.
I'll wait to assign reviewers until you mark it as ready for review.
Just convert it out of draft status when you're ready for review!

@joostjager joostjager changed the title ci: Add GitHub Job Summary reporting to ci-tests.sh Add GitHub Job Summary reporting to ci-tests.sh Jan 28, 2026
ci/ci-tests.sh Outdated
}

# Initialize GitHub Actions Job Summary
if [ -n "$GITHUB_STEP_SUMMARY" ]; then
Copy link
Collaborator

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?

Copy link
Contributor Author

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

Copy link
Collaborator

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.

Copy link
Contributor Author

@joostjager joostjager Jan 29, 2026

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.

Copy link
Collaborator

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.

Copy link
Contributor Author

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

@codecov
Copy link

codecov bot commented Jan 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.11%. Comparing base (9e91b2e) to head (6f524c7).
⚠️ Report is 18 commits behind head on main.

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              
Flag Coverage Δ
tests 86.11% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joostjager
Copy link
Contributor Author

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]>
@joostjager joostjager changed the title Add GitHub Job Summary reporting to ci-tests.sh Split CI script into separate GitHub Actions steps Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants