|
| 1 | +name: build-free-threaded |
| 2 | + |
| 3 | +on: |
| 4 | + workflow_dispatch: # Manual trigger only; no automatic CI runs |
| 5 | + |
| 6 | +env: |
| 7 | + UV_SYSTEM_PYTHON: 1 |
| 8 | + |
| 9 | +jobs: |
| 10 | + free-threaded: |
| 11 | + runs-on: ubuntu-latest |
| 12 | + name: py 3.14t free-threaded |
| 13 | + steps: |
| 14 | + - uses: actions/checkout@v5 |
| 15 | + - name: Set up Python 3.14t |
| 16 | + uses: actions/setup-python@v6 |
| 17 | + with: |
| 18 | + python-version: "3.14t" |
| 19 | + - name: Install uv |
| 20 | + uses: astral-sh/setup-uv@v7 |
| 21 | + - name: Install targeted dependencies |
| 22 | + run: | |
| 23 | + set -xe |
| 24 | + uv pip install -e . |
| 25 | + # From [project.optional-dependencies].dev in pyproject.toml |
| 26 | + uv pip install pytest |
| 27 | + uv pip install pytest-cov |
| 28 | + uv pip install pytest-run-parallel |
| 29 | + # uv pip install hatch>=1.13.0 |
| 30 | + # uv pip install ruff>=0.9.5 |
| 31 | + # uv pip install 'duckdb>=1.0; python_version<"3.14"' |
| 32 | + # uv pip install ipython |
| 33 | + # uv pip install ipykernel |
| 34 | + # uv pip install pandas>=1.1.3 |
| 35 | + # uv pip install pyarrow-stubs |
| 36 | + # uv pip install 'pytest-xdist[psutil]~=3.5' |
| 37 | + # uv pip install mistune |
| 38 | + # uv pip install mypy |
| 39 | + # uv pip install pandas-stubs |
| 40 | + # uv pip install types-jsonschema |
| 41 | + # uv pip install types-setuptools |
| 42 | + # uv pip install geopandas>=0.14.3 |
| 43 | + # uv pip install polars>=0.20.3 |
| 44 | + # uv pip install taskipy>=1.14.1 |
| 45 | + # uv pip install tomli>=2.2.1 |
| 46 | + - name: Run pytest with pytest-run-parallel |
| 47 | + run: | |
| 48 | + uv run pytest -o addopts= --pyargs --doctest-modules --doctest-ignore-import-errors --iterations=8 --parallel-threads=auto tests |
| 49 | +
|
0 commit comments