Lines Matching +full:pytest +full:- +full:twister +full:- +full:harness
2 # SPDX-License-Identifier: Apache-2.0
4 name: Twister TestSuite
9 - main
10 - v*-branch
11 - collab-*
13 - 'scripts/pylib/**'
14 - 'scripts/twister'
15 - 'scripts/tests/twister/**'
16 - '.github/workflows/twister_tests.yml'
17 - 'scripts/schemas/twister/'
20 - main
21 - v*-branch
23 - 'scripts/pylib/**'
24 - 'scripts/twister'
25 - 'scripts/tests/twister/**'
26 - '.github/workflows/twister_tests.yml'
27 - 'scripts/schemas/twister/'
30 twister-tests:
31 name: Twister Unit Tests
32 runs-on: ${{ matrix.os }}
35 python-version: ['3.10', '3.11', '3.12', '3.13']
36 os: [ubuntu-22.04]
38 - name: checkout
40 - name: Set up Python ${{ matrix.python-version }}
41 uses: actions/setup-python@v5
43 python-version: ${{ matrix.python-version }}
44 - name: cache-pip-linux
49 key: ${{ runner.os }}-pip-${{ matrix.python-version }}
50 restore-keys: |
51 ${{ runner.os }}-pip-${{ matrix.python-version }}
52 - name: install-packages
54 …pip install -r scripts/requirements-base.txt -r scripts/requirements-build-test.txt -r scripts/req…
55 - name: Run pytest for twisterlib
60 echo "Run twister tests"
61 PYTHONPATH=./scripts/tests pytest ./scripts/tests/twister
62 - name: Run pytest for pytest-twister-harness
66 PYTHONPATH: ./scripts/pylib/pytest-twister-harness/src:${PYTHONPATH}
68 echo "Run twister tests"
69 pytest ./scripts/pylib/pytest-twister-harness/tests