diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b34a886..c26408de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,13 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, windows-latest, macos-13] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: + - "3.8" + - "3.9" + - "3.10" + - "3.11" + - "3.12" + - "3.13" include: - os: macos-14 python-version: "3.12" @@ -30,6 +36,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Setup uv uses: yezz123/setup-uv@v4 - name: Set up Miniconda @@ -39,6 +46,7 @@ jobs: python-version: ${{ matrix.python-version }} miniforge-variant: Mambaforge use-mamba: true + channels: conda-forge/label/python_rc,conda-forge - name: Install Nox-under-test (uv) run: uv pip install --system . - name: Run tests on ${{ matrix.os }} (tox <4) @@ -50,6 +58,8 @@ jobs: with: name: coverage-${{ github.job }}-${{ strategy.job-index }} path: .coverage.* + include-hidden-files: true + if-no-files-found: error coverage: needs: build diff --git a/noxfile.py b/noxfile.py index 66f3e9ec..d1ad2f33 100644 --- a/noxfile.py +++ b/noxfile.py @@ -45,7 +45,7 @@ "python, tox_version", [ (python, tox_version) - for python in ("3.8", "3.9", "3.10", "3.11", "3.12") + for python in ("3.8", "3.9", "3.10", "3.11", "3.12", "3.13") for tox_version in ("latest", "<4") ], ) @@ -186,6 +186,7 @@ def _check_python_version(session: nox.Session) -> None: "3.10", "3.11", "3.12", + "3.13", "pypy3.9", "pypy3.10", ] @@ -203,6 +204,7 @@ def github_actions_default_tests(session: nox.Session) -> None: "3.10", "3.11", "3.12", + "3.13", "pypy3.8", "pypy3.9", "pypy3.10",