feat: Add automated Polarion test case validation/upload workflow#258
Open
feat: Add automated Polarion test case validation/upload workflow#258
Conversation
m-horky
requested changes
Aug 25, 2025
Collaborator
m-horky
left a comment
There was a problem hiding this comment.
I have some notes, from looking at the code itself. I did not execute this against a Polarion instance.
| POLARION_PASSWORD: ${{ secrets.POLARION_PASSWORD }} | ||
| run: | | ||
| curl -k -u ${{ secrets.POLARION_USERNAME }}:${{ secrets.POLARION_PASSWORD }} \ | ||
| -X POST -F file=@test_case.xml \ |
Collaborator
There was a problem hiding this comment.
-X POST is not necessary, it is inferred from the -F: https://daniel.haxx.se/blog/2015/09/11/unnecessary-use-of-curl-x/
.github/workflows/betelgeuse_test_case_validation_and_upload.yml
Outdated
Show resolved
Hide resolved
| run: | | ||
| PYTHONPATH=integration-tests/ betelgeuse --config-module \ | ||
| custom_betelgeuse_config test-case --dry-run \ | ||
| integration-tests/ dryrun_project ./test_case.xml |
Collaborator
There was a problem hiding this comment.
Since this is a dry run, would it make sense to expose the generated ./test_case.xml as an artifact anyone could download and inspect?
1182880 to
1762b7d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR creates a workflow for Betelgeuse Docstrings Validation and Automated Test Case Upload to Polarion
This PR is a copy of the same workflow for Insights Client: RedHatInsights/insights-client#481