Skip to content

Commit cb78631

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

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/twister_tests_blackbox.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,34 @@ 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-
31-
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}
3928

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 }}
36+
working-directory: zephyr
4437
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
4538
with:
4639
python-version: ${{ matrix.python-version }}
4740
cache: pip
4841
cache-dependency-path: scripts/requirements-actions.txt
4942

5043
- name: install-packages
44+
working-directory: zephyr
5145
run: |
5246
pip install -r scripts/requirements-actions.txt --require-hashes
5347
48+
- name: Setup Zephyr project
49+
uses: zephyrproject-rtos/action-zephyr-setup@f7b70269a8eb01f70c8e710891e4c94972a2f6b4 # v1.0.6
50+
with:
51+
app-path: zephyr
52+
toolchains: all
5453

5554
- name: Environment Setup
55+
working-directory: zephyr
5656
run: |
5757
echo "$HOME/.local/bin" >> $GITHUB_PATH
5858
@@ -67,6 +67,7 @@ jobs:
6767
echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
6868
6969
- name: Run Pytest For Twister Black Box Tests
70+
working-directory: zephyr
7071
shell: bash
7172
env:
7273
ZEPHYR_BASE: ./

0 commit comments

Comments
 (0)