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

Upload multiple test data artifacts to provide coverage for artifact name pattern feature #79

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Upload multiple test data artifacts to provide coverage for artifact name pattern feature #79

merged 1 commit into from
Jan 22, 2024

Conversation

per1234
Copy link
Collaborator

@per1234 per1234 commented Jan 22, 2024

The action was originally designed for a use case where there will only be a single sketches reports workflow artifact. Due to a change in the "actions/upload-artifact" GitHub Actions action, it became necessary to add the capability for the "arduino/report-size-deltas" action to be able to consume reports from multiple artifacts (#78).

The "Upload test sketches report artifact" GitHub Actions workflow is here updated to produce multiple test data artifacts in order to allow the "Run integration tests" workflow to provide coverage for the new capability.

As was previously the case, one of the artifacts uploaded by the workflow contains multiple sketches report files in order to provide test data necessary to continue providing coverage for the <=actions/upload-artifact@v3 single artifact system. Even though the produced test data (multiple artifacts, with multiple reports in a single artifact) would not occur under real world usage, it is the cleanest way (the alternative being to create and maintain separate copies of the system implemented in the report-target-pr branch for each use pattern) to provide effective integration test coverage.

…name pattern feature

The action was originally designed for a use case where there will only be a single sketches reports workflow artifact.
Due to a change in the "actions/upload-artifact" GitHub Actions action, it became necessary to add the capability for
the "arduino/report-size-deltas" action to be able to consume reports from multiple artifacts.

The "Upload test sketches report artifact" GitHub Actions workflow is hereby updated to produce multiple test data
artifacts in order to allow the "Run integration tests" workflow to provide coverage for the new capability.

As was previously the case, one of the artifacts uploaded by the workflow contains multiple sketches report files in
order to provide test data necessary to continue providing coverage for the <=actions/upload-artifact@v3 single artifact
system. Even though the produced test data (multiple artifacts, with multiple reports in a single artifact) would not
occur under real world usage, it is the cleanest way (the alternative being to create and maintain separate copies of
the system implemented in the `report-target-pr` branch for each use pattern) to provide effective integration test
coverage.
@per1234 per1234 added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Jan 22, 2024
@per1234 per1234 self-assigned this Jan 22, 2024
@per1234 per1234 merged commit 1c993a0 into arduino:report-target-pr Jan 22, 2024
13 checks passed
@per1234 per1234 deleted the report-target-pr-multiple-artifacts branch January 22, 2024 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant