Add support for supplying input zip files next to directories#1544
Open
miensol wants to merge 1 commit intoallure-framework:mainfrom
Open
Add support for supplying input zip files next to directories#1544miensol wants to merge 1 commit intoallure-framework:mainfrom
miensol wants to merge 1 commit intoallure-framework:mainfrom
Conversation
With this change it is possible to run allure generate --report-dir ./out ./source-1.zip ./source-2.zip ./source-3
Contributor
|
The feature looks promising! However, I was wondering if it would be possible to add equal support for The motivation behind TAR archives is especially interesting for custom Allure runtime writers. If a writer appends files (like |
A1exKH
suggested changes
May 3, 2024
A1exKH
left a comment
There was a problem hiding this comment.
Code LGTM.
Please resolve conflicts for this PR.
CloneOfAlex
approved these changes
Jan 25, 2025
CloneOfAlex
approved these changes
Mar 11, 2025
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.
With this change it is possible to run
allure generate --report-dir ./out ./source-1.zip ./source-2.zip ./source-3Context
We're building a POC that would bring together tests results from various CI jobs.
We've attempted to run allure from AWS Lambda. Raw tests results are synced from S3 to an EFS attached to Lambda. The performance of generating the report is terrible when compared to local execution. It turned out that the majority of the time the lambda spends on checking files metadata. This is understandable as allure needs to list files and directories.
In order to tackle this, we'd like to zip test results i.e. thousands of files, sync the archives to the EFS attached to the Lambda instead of raw test results.
The way it was implemented was to run readers (except the zip results source plugin) again after opening the zip archive.
Checklist