Lines Matching +full:pylib +full:- +full:tests
2 # SPDX-License-Identifier: Apache-2.0
9 - main
10 - collab-*
11 - v*-branch
13 - 'scripts/pylib/twister/**'
14 - 'scripts/twister'
15 - 'scripts/tests/twister_blackbox/**'
16 - '.github/workflows/twister_tests_blackbox.yml'
19 twister-tests:
20 name: Twister Black Box Tests
21 runs-on: ${{ matrix.os }}
24 python-version: ['3.10', '3.11', '3.12', '3.13']
25 os: [ubuntu-22.04]
27 image: ghcr.io/zephyrproject-rtos/ci:v0.27.4
30 - name: Apply Container Owner Mismatch Workaround
36 git config --global --add safe.directory ${GITHUB_WORKSPACE}
38 - name: Checkout
41 - name: Environment Setup
45 west init -l . || true
47 west config manifest.group-filter -- -hal,-tools,-bootloader,-babblesim
48 west config manifest.project-filter -- -nrf_hw_models
49 west config --global update.narrow true
50 …--path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || west update --path-cache /gith…
51 west forall -c 'git reset --hard HEAD'
53 echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
55 - name: Set Up Python ${{ matrix.python-version }}
56 uses: actions/setup-python@v5
58 python-version: ${{ matrix.python-version }}
60 - name: Go Into Venv
63 python3 -m pip install --user virtualenv
64 python3 -m venv env
68 - name: Install Packages
70 …python3 -m pip install -U -r scripts/requirements-base.txt -r scripts/requirements-build-test.txt …
72 - name: Run Pytest For Twister Black Box Tests
78 echo "Run twister tests"
79 source zephyr-env.sh
80 PYTHONPATH="./scripts/tests" pytest ./scripts/tests/twister_blackbox