Skip to content

Commit 91dd4fc

Browse files
LukaszMrugalanashif
authored andcommitted
.github: workflows: Black box testing fix
This fix pulls West in black box testing. Previously changes in West could break it. Signed-off-by: Lukasz Mrugala <[email protected]>
1 parent 5e63058 commit 91dd4fc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/blackbox_tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ jobs:
4646
- name: Checkout
4747
uses: actions/checkout@v3
4848

49+
- name: Environment Setup
50+
run: |
51+
echo "$HOME/.local/bin" >> $GITHUB_PATH
52+
53+
west init -l . || true
54+
west config --global update.narrow true
55+
west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || ( rm -rf ../modules ../bootloader ../tools && west update --path-cache /github/cache/zephyrproject)
56+
west forall -c 'git reset --hard HEAD'
57+
4958
- name: Set Up Python ${{ matrix.python-version }}
5059
uses: actions/setup-python@v4
5160
with:

0 commit comments

Comments
 (0)