Skip to content

Commit 3ec5904

Browse files
authored
Add size trends report step to CI workflow (#133)
On every push to the master branch, size data will be written to a Google Sheets spreadsheet. This information will allow tracking the trends in memory usage over time.
1 parent 188c39a commit 3ec5904

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/compile-examples.yml

+8
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ jobs:
7777
size-report-sketch: 'ArduinoIoTCloud_Travis_CI'
7878
enable-size-deltas-report: 'true'
7979

80+
- name: Write data to size trends report spreadsheet
81+
# Update report on every push to the master branch
82+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
83+
uses: arduino/actions/libraries/report-size-trends@master
84+
with:
85+
google-key-file: ${{ secrets.GOOGLE_KEY_FILE }}
86+
spreadsheet-id: 1I6NZkpZpf8KugBkE92adB1Z3_b7ZepOpCdYTOigJpN4
87+
8088
- name: Save memory usage change report as artifact
8189
if: github.event_name == 'pull_request'
8290
uses: actions/upload-artifact@v1

0 commit comments

Comments
 (0)