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

patch(integration_test_charm.yaml): Skip Allure if test collection fails #180

Closed
wants to merge 1 commit into from

Conversation

carlcsaposs-canonical
Copy link
Contributor

If collect-integration-tests fails, the Allure report will be empty

This will cause the next report to lose history of the previous reports

For example:
Before failure: https://canonical.github.io/mysql-operator/2536/ Failure: https://canonical.github.io/mysql-operator/2538/ After failure: https://canonical.github.io/mysql-operator/2543/

If `collect-integration-tests` fails, the Allure report will be empty

This will cause the next report to lose history of the previous reports

For example:
Before failure: https://canonical.github.io/mysql-operator/2536/
Failure: https://canonical.github.io/mysql-operator/2538/
After failure: https://canonical.github.io/mysql-operator/2543/
@carlcsaposs-canonical
Copy link
Contributor Author

@carlcsaposs-canonical carlcsaposs-canonical marked this pull request as ready for review June 3, 2024 09:47
@carlcsaposs-canonical
Copy link
Contributor Author

carlcsaposs-canonical commented Jun 3, 2024

@taurus-forever which behavior is preferred—(current) empty allure report if collection fails & history is cleared (shows up on next report) or (this PR) skip the report & history on next report works (missing the skipped report)?

@carlcsaposs-canonical
Copy link
Contributor Author

After discussion with @taurus-forever, better to have visibility if collection fails & lose history in latest report (still available on older reports) than to hide issue

@carlcsaposs-canonical carlcsaposs-canonical deleted the fix-allure-collection branch June 4, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant