-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fix script to run examples locally #285
base: master
Are you sure you want to change the base?
Fix script to run examples locally #285
Conversation
Ignore comment lines and empty lines in the example lists file. Signed-off-by: Christoph Niethammer <[email protected]>
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.
Thank you for updating the script!
There is a minor mess with those test scripts as they are all kind of duplicated:
The workflow file differs a bit from the first two scripts but does basically the same (besides also comparing the results with the master branch).
However we can think of removing the run-validation.sh
script since run-examples.sh
is more sophisticated.
Yes, it would be good to unify the script to reduce code maintenance and use this then in the GitHub workflow as well. I will check and come back with an update for this PR. |
- Added command line options - Add one second timeout at end of test to easy interruption - Updated default run parameters to match run-validation script Signed-off-by: Christoph Niethammer <[email protected]>
Improved the run-example script so it can be reused in the run-validation script. The github workflow requires more logic than this simple local executor script as it checks for matching outputs from different branches. So I will not address this with this PR and I consider this to be ready for merging. |
Co-authored-by: FG-TUM <[email protected]>
Co-authored-by: FG-TUM <[email protected]>
Co-authored-by: HomesGH <[email protected]>
Co-authored-by: FG-TUM <[email protected]>
Fixes problems reported in #284 for the
examples/run-examples.sh
script and makes it work again.