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.
Although the action's Python code itself is currently well tested via unit tests, this does not provide any checks for
how the action interacts with the GitHub Actions framework and GitHub API.
Even though it won't provide full verification of the report, simply running the action provides a
"smoke test" as well as facilitating manual verification.
On every pull request event, the action will run and source the sketches reports test data from a local path.
When the job is triggered by an event from a fork, it will fail due to the access token not having the write permissions
required to comment on the PR thread. The workflow is triggered to still pass under these conditions. Checking the log to
see whether the action failed in the expected manner may still provide a useful validation of the PR.
When the PR is from a branch of the repository, the deltas report will be commented on the PR thread.
The workflow is also configured to run on
push
,schedule
,workflow_dispatch
, andrepository_dispatch
events. In this case,it sources the sketches report from a workflow artifact. A dummy PR (#14) will be left permanently open in the repository with
the sole purpose of serving as a target for these tests.
"Golden" sketches reports for integration tests were generated from the repository attached here: #8 (comment)
Expected size deltas report resulting from the integration test workflow:
Memory usage change @ 651f05f4d4aca30ac359e972c01568f873112d43
Click for full report table
flash
RAM for global variables
flash
RAM for global variables
flash
RAM for global variables
flash
RAM for global variables
Click for full report CSV