Skip to content

Commit 40f1d1b

Browse files
committed
ci: twister: store the list of python packages
Add a step to the #1 twister shard to upload the list of Python packages used with the build. Signed-off-by: Fabio Baltieri <[email protected]>
1 parent e364f29 commit 40f1d1b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/twister.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,20 @@ jobs:
228228
fi
229229
fi
230230
231+
- if: matrix.subset == 1
232+
name: Save the list of Python packages
233+
run: |
234+
pip3 freeze | tee requirements-freeze.txt
235+
236+
- if: matrix.subset == 1
237+
name: Upload the list of Python packages
238+
uses: actions/upload-artifact@v3
239+
with:
240+
name: Frozen PIP package set
241+
if-no-files-found: ignore
242+
path: |
243+
requirements-freeze.txt
244+
231245
- if: github.event_name == 'pull_request_target'
232246
name: Run Tests with Twister (Pull Request)
233247
run: |

0 commit comments

Comments
 (0)