Skip to content

Commit 2cd9fa8

Browse files
committed
do not use docker
Signed-off-by: Anas Nashif <[email protected]>
1 parent fdce306 commit 2cd9fa8

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/twister_tests_blackbox.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,12 @@ jobs:
2525
strategy:
2626
matrix:
2727
python-version: ['3.10', '3.11', '3.12', '3.13']
28-
container:
29-
image: ghcr.io/zephyrproject-rtos/ci:v0.27.4
30-
3128
steps:
32-
- name: Apply Container Owner Mismatch Workaround
33-
run: |
34-
# FIXME: The owner UID of the GITHUB_WORKSPACE directory may not
35-
# match the container user UID because of the way GitHub
36-
# Actions runner is implemented. Remove this workaround when
37-
# GitHub comes up with a fundamental fix for this problem.
38-
git config --global --add safe.directory ${GITHUB_WORKSPACE}
39-
4029
- name: Checkout
4130
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
with:
32+
path: zephyr
33+
fetch-depth: 0
4234

4335
- name: Set Up Python ${{ matrix.python-version }}
4436
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
@@ -48,11 +40,18 @@ jobs:
4840
cache-dependency-path: scripts/requirements-actions.txt
4941

5042
- name: install-packages
43+
working-directory: zephyr
5144
run: |
5245
pip install -r scripts/requirements-actions.txt --require-hashes
5346
47+
- name: Setup Zephyr project
48+
uses: zephyrproject-rtos/action-zephyr-setup@f7b70269a8eb01f70c8e710891e4c94972a2f6b4 # v1.0.6
49+
with:
50+
app-path: zephyr
51+
toolchains: all
5452

5553
- name: Environment Setup
54+
working-directory: zephyr
5655
run: |
5756
echo "$HOME/.local/bin" >> $GITHUB_PATH
5857
@@ -67,6 +66,7 @@ jobs:
6766
echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
6867
6968
- name: Run Pytest For Twister Black Box Tests
69+
working-directory: zephyr
7070
shell: bash
7171
env:
7272
ZEPHYR_BASE: ./

0 commit comments

Comments
 (0)