Skip to content

Commit 1f59021

Browse files
authored
Merge pull request #60 from per1234/report-all-sketches
Report data for all sketch compilations
2 parents 0c46c23 + 793087a commit 1f59021

File tree

6 files changed

+738
-321
lines changed

6 files changed

+738
-321
lines changed

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,6 @@ List of paths containing sketches to compile. These paths will be searched recur
109109

110110
Set to true to show verbose output in the log. Default `false`
111111

112-
### `size-report-sketch`
113-
114-
Name of the sketch used to compare memory usage change. Default `""`.
115-
116112
### `sketches-report-path`
117113

118114
Path in which to save a JSON formatted file containing data from the sketch compilations. Should be used only to store reports. Relative paths are relative to [`GITHUB_WORKSPACE`](https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables). The folder will be created if it doesn't already exist. This report is used by the `arduino/libraries/report-size-deltas` and `arduino/libraries/report-size-trends` actions. Default `"size-deltas-reports"`.
@@ -123,7 +119,7 @@ GitHub access token used to get information from the GitHub API. Only needed if
123119

124120
### `enable-size-deltas-report`
125121

126-
Set to `true` to cause the action to determine the change in memory usage for the [`size-reports-sketch`](#size-reports-sketch) between the pull request branch and the tip of the pull request's base branch. This may be used with the [`arduino/actions/libraries/report-size-deltas` action](https://github.com/arduino/actions/tree/master/libraries/report-size-deltas). Default `false`.
122+
Set to `true` to cause the action to determine the change in memory usage of the compiled sketches between the pull request branch and the tip of the pull request's base branch. This may be used with the [`arduino/actions/libraries/report-size-deltas` action](https://github.com/arduino/actions/tree/master/libraries/report-size-deltas). Default `false`.
127123

128124
## Example usage
129125

@@ -142,7 +138,6 @@ Storing the memory usage change report as a [workflow artifact](https://help.git
142138
```yaml
143139
- uses: arduino/actions/libraries/compile-examples@master
144140
with:
145-
size-report-sketch: Foobar
146141
enable-size-deltas-report: true
147142
- if: github.event_name == 'pull_request'
148143
uses: actions/upload-artifact@v1

action.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,14 @@ inputs:
1919
verbose:
2020
description: 'Set to true to show verbose output in the log'
2121
default: false
22-
size-report-sketch:
23-
description: 'Name of the sketch used to compare memory usage change'
24-
default: ''
2522
sketches-report-path:
2623
description: 'Path in which to save a JSON formatted file containing data from the sketch compilations'
2724
default: 'size-deltas-reports'
2825
github-token:
2926
description: 'GitHub access token used to get information from the GitHub API. Only needed if you are using the size deltas report feature with a private repository.'
3027
default: ''
3128
enable-size-deltas-report:
32-
description: 'Set to true to cause the action to determine the change in memory usage for the size-reports-sketch'
29+
description: 'Set to true to cause the action to determine the change in memory usage of the compiled sketches between the head and base refs of a PR'
3330
default: false
3431
runs:
3532
using: 'docker'

0 commit comments

Comments
 (0)