Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cniethammer
Copy link
Contributor

Fixes problems reported in #284 for the examples/run-examples.sh script and makes it work again.

Ignore comment lines and empty lines in the example lists file.

Signed-off-by: Christoph Niethammer <[email protected]>
Copy link
Contributor

@HomesGH HomesGH 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 updating the script!
There is a minor mess with those test scripts as they are all kind of duplicated:

  1. run-validation.sh
  2. run-examples.sh
  3. workflow / GitHub Actions

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.

@cniethammer
Copy link
Contributor Author

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.

@cniethammer cniethammer added the WIP Work In Progress label Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work In Progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants