File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -399,11 +399,12 @@ jobs:
399399
400400 - name : Test wheel (Linux)
401401 if : matrix.config.os-name == 'linux'
402- run : docker run --rm -e PYTHON_ARCH -e PYTHON_VERSION -e NUMPY_VERSION -v `pwd`:/io ${{ matrix.config.docker-image }} /io/.github/scripts/test-linux.sh
402+ run : docker run --rm -e PYTHON_ARCH -e PYTHON_VERSION -e NUMPY_VERSION -e RAWPY_SKIP_EXAMPLES - v `pwd`:/io ${{ matrix.config.docker-image }} /io/.github/scripts/test-linux.sh
403403 env :
404404 PYTHON_ARCH : ${{ matrix.config.python-arch }}
405405 PYTHON_VERSION : ${{ matrix.config.python-version }}
406406 NUMPY_VERSION : ${{ matrix.config.numpy-version }}
407+ RAWPY_SKIP_EXAMPLES : ${{ matrix.config.python-arch == 'aarch64' && '1' || '' }}
407408
408409 - name : Setup Python (Windows)
409410 if : matrix.config.os-name == 'windows'
Original file line number Diff line number Diff line change 1919 reason = "test image not available" ,
2020)
2121
22+ skip_examples = pytest .mark .skipif (
23+ os .environ .get ("RAWPY_SKIP_EXAMPLES" , "" ) == "1" ,
24+ reason = "RAWPY_SKIP_EXAMPLES is set (e.g., slow QEMU emulation)" ,
25+ )
26+
27+ pytestmark = skip_examples
28+
2229
2330def run_example (script_name : str ) -> subprocess .CompletedProcess :
2431 """Run an example script and return the result."""
You can’t perform that action at this time.
0 commit comments