Skip to content

Commit

Permalink
Add free-threaded job
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jul 2, 2024
1 parent c05ce3c commit 8bc93ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if [[ $(uname) != CYGWIN* ]]; then
# PyQt6 doesn't support PyPy3
if [[ $GHA_PYTHON_VERSION == 3.* ]]; then
sudo apt-get -qq install libegl1 libxcb-cursor0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxkbcommon-x11-0
python3 -m pip install pyqt6
if ! [[ "$GHA_PYTHON_VERSION" == "3.13-dev" ]]; then python3 -m pip install pyqt6 ; fi
fi

# Pyroma uses non-isolated build and fails with old setuptools
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ jobs:
python-version: [
"pypy3.10",
"pypy3.9",
"3.13-dev",
"3.12-dev",
"3.11-dev",
"3.13",
"3.12",
"3.11",
Expand All @@ -58,6 +55,9 @@ jobs:
REVERSE: "--reverse"
- python-version: "3.10"
PYTHONOPTIMIZE: 2
- { os: "ubuntu-latest", python-version: "3.13-dev", disable-gil: true }
- { os: "ubuntu-latest", python-version: "3.13-dev", disable-gil: false }
- { os: "ubuntu-latest", python-version: "3.12-dev", disable-gil: false }

runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
Expand All @@ -80,6 +80,7 @@ jobs:
if: endsWith(matrix.python-version, '-dev')
with:
python-version: ${{ matrix.python-version }}
nogil: ${{ matrix.disable-gil }}

- name: Build system information
run: python3 .github/workflows/system-info.py
Expand Down

0 comments on commit 8bc93ee

Please sign in to comment.