Skip to content

CI: update github CI to have a smoke run and save log if fails#281

Merged
AloisSeckar merged 2 commits intoAloisSeckar:masterfrom
ab-schneider:feat/CI-fail-when-exception-thrown-in-smoke-run
Oct 23, 2025
Merged

CI: update github CI to have a smoke run and save log if fails#281
AloisSeckar merged 2 commits intoAloisSeckar:masterfrom
ab-schneider:feat/CI-fail-when-exception-thrown-in-smoke-run

Conversation

@ab-schneider
Copy link
Contributor

closes #248

  • Added “Smoke run demos (fail on runtime exceptions)” step

  • Redirected both stdout and stderr to run.log

  • Added artifact upload step to attach run.log when the smoke run fails

@ab-schneider
Copy link
Contributor Author

ab-schneider commented Oct 23, 2025

to see how pipeline could fail you could check my test PR with run time exception

Copy link
Owner

@AloisSeckar AloisSeckar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for putting this together.

I just added one change - restrict the upload step only to failed test run. Because according to my consultation, any previous failed step (checkout / setting up env / maven compile) would also trigger it and it will fail upon non-existing run-log file.

@AloisSeckar AloisSeckar added the hacktoberfest Counts as submission for Hacktoberfest 2025 label Oct 23, 2025
@AloisSeckar AloisSeckar merged commit 96ec2e5 into AloisSeckar:master Oct 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest Counts as submission for Hacktoberfest 2025

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Fail if runtime exceptions appear during demo run

3 participants