diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 47f725170bd8..8af3edcb8cef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -73,6 +73,14 @@ jobs: # allow_failure: true test_mypyc: true + - name: Test suite with py314t-ubuntu + python: '3.14t' + os: ubuntu-24.04-arm + toxenv: py + tox_extra_args: "-n 4" + # allow_failure: true + test_mypyc: true + - name: mypyc runtime tests with py39-macos python: '3.9.21' # TODO: macos-13 is the last one to support Python 3.9, change it to macos-latest when updating the Python version @@ -158,6 +166,8 @@ jobs: if: ${{ !(matrix.debug_build || endsWith(matrix.python, '-dev')) }} with: python-version: ${{ matrix.python }} + # allow pre-release builds to install without -dev suffix + allow-prereleases: true - name: Install tox run: | @@ -176,6 +186,11 @@ jobs: pip install -r test-requirements.txt CC=clang MYPYC_OPT_LEVEL=0 MYPY_USE_MYPYC=1 pip install -e . + # delete this when importing lxml.etree no longer re-enables the GIL + - name: Force-disable GIL in 3.14t tests + if: ${{ matrix.python == '3.14t' }} + run: echo "PYTHON_GIL=0" >> "$GITHUB_ENV" + - name: Setup tox environment run: | tox run -e ${{ matrix.toxenv }} --notest