Skip to content

Commit 7b3cd69

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 7b3cd69

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/twister.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,19 @@ jobs:
273273
module_tests/twister.xml
274274
testplan.json
275275
276+
- if: matrix.subset == 1 && github.event_name == 'push'
277+
name: Save the list of Python packages
278+
run: |
279+
pip3 freeze | tee requirements-freeze.txt
280+
281+
- if: matrix.subset == 1 && github.event_name == 'push'
282+
name: Upload the list of Python packages
283+
uses: actions/upload-artifact@v3
284+
with:
285+
name: Frozen PIP package set
286+
path: |
287+
requirements-freeze.txt
288+
276289
twister-test-results:
277290
name: "Publish Unit Tests Results"
278291
env:

0 commit comments

Comments
 (0)