-
Notifications
You must be signed in to change notification settings - Fork 48
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
feat(test): Betelgeuse Docstrings Validation workflow #280
Conversation
f93da93
to
9a14dcc
Compare
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.
integration-tests/.github/workflows/polarion.yml
-- this won't make the new workflow used, as it must be in the.github/workflows/
directory- please name the file something more explicit than "polarion"
- since betelgeuse and testimony do different jobs, I'd create two different jobs in this new workflow (one for each)
- the actual config files are missing
da9460a
to
d2d4d4a
Compare
eb76be9
to
54cbaa1
Compare
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.
also make sure to
- not have trailing whitespaces in lines in the newly added files
- end the newly added files with an empty new line
54cbaa1
to
ae7ffc9
Compare
ae7ffc9
to
4801534
Compare
4801534
to
195018d
Compare
Thanks for the changes so far, it runs the jobs properly now :) More notes from my side:
|
Thanks for the notes @ptoscano! For the configuration of For the |
48d3795
to
9663d06
Compare
Thanks!
Thanks! I'd not make it required thought, as there may not be references for a test, and that's OK (not ideal, still OK).
OK, makes sense. In this case, what do you think about splitting the betelgeuse job (and its config) in its own PR? That one seems to work fine already, and we can run it in new PRs to validate the result/output. |
Yeah sure:)
Yeah, that makes sense, I will leave this PR to betelgeuse only then and I will create a separate PR for testimony that I will leave as draft for now. |
9663d06
to
75ce928
Compare
Sounds good. One thing I'd add here is the Also, please explain a bit more the changes as commit message, so the content of the commit in this PR is a bit less cryptic, including what it is for. Lastly: please rebase this branch on top of Thanks! |
75ce928
to
804ad1b
Compare
- Introduced a new GitHub Actions workflow (`docstring_validation.yml`) to validate docstrings using Betelgeuse. This workflow triggers on pull requests affecting the `integration-tests/` directory and performs a dry run with Betelgeuse. - Added a `README.md` to the `integration-tests/` directory, documenting how to run Betelgeuse for generating and importing test-case and test-run XML files. - Created a custom Betelgeuse configuration (`custom_betelgeuse_config.py`) to define additional fields for test cases, ensuring proper parsing of docstrings in the `integration-tests/` directory.
804ad1b
to
23949fb
Compare
Rebased, commit message added and README.md added also :) |
/packit retest-failed |
1 similar comment
/packit retest-failed |
No description provided.