diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33dc561e561..2b5ca94f18b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,6 +41,7 @@ jobs: python-version: [ "pypy3.10", "pypy3.9", + "3.13-dev", "3.13", "3.12", "3.11", @@ -54,6 +55,8 @@ jobs: REVERSE: "--reverse" - python-version: "3.8" PYTHONOPTIMIZE: 2 + exclude: + - { python-version: "3.13-dev", os: "macos-latest" } runs-on: ${{ matrix.os }} name: ${{ matrix.os }} Python ${{ matrix.python-version }} @@ -62,6 +65,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} + if: "!endsWith(matrix.python-version, '-dev')" uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -69,6 +73,13 @@ jobs: cache: pip cache-dependency-path: ".ci/*.sh" + - name: Set up Python ${{ matrix.python-version }} (disable-gil) + if: endsWith(matrix.python-version, '-dev') + uses: hugovk/action@test-me-disable-gil + with: + python-version: ${{ matrix.python-version }} + disable-gil: true + - name: Build system information run: python3 .github/workflows/system-info.py