diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index d919b44..3190fdb 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Checkout uses: actions/checkout@v4 @@ -34,12 +34,40 @@ jobs: name: coverage-artifact-${{ matrix.python }} path: .coverage-${{ matrix.python }} include-hidden-files: true + unit-prerelease: + runs-on: ubuntu-latest + strategy: + matrix: + python: ['3.13'] + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python }} + - name: Install nox + run: | + python -m pip install --upgrade setuptools pip wheel + python -m pip install nox + - name: Run unit tests + env: + COVERAGE_FILE: .coverage-prerelease-${{ matrix.python }} + run: | + nox -s unit_prerelease-${{ matrix.python }} + - name: Upload coverage results + uses: actions/upload-artifact@v4 + with: + name: coverage-artifact-prerelease-${{ matrix.python }} + path: .coverage-prerelease-${{ matrix.python }} + include-hidden-files: true + unit-prerelease: runs-on: ubuntu-latest strategy: matrix: - python: ['3.12'] + python: ['3.13'] steps: - name: Checkout uses: actions/checkout@v4 @@ -55,7 +83,7 @@ jobs: env: COVERAGE_FILE: .coverage-prerelease-${{ matrix.python }} run: | - nox -s unit_prerelease + nox -s unit_prerelease-${{ matrix.python }} - name: Upload coverage results uses: actions/upload-artifact@v4 with: diff --git a/noxfile.py b/noxfile.py index 60df109..4def070 100644 --- a/noxfile.py +++ b/noxfile.py @@ -34,7 +34,7 @@ DEFAULT_PYTHON_VERSION = "3.8" -UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] +UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] UNIT_TEST_STANDARD_DEPENDENCIES = [ "mock", "asyncmock", diff --git a/setup.py b/setup.py index 4076eaa..98bed9d 100644 --- a/setup.py +++ b/setup.py @@ -69,6 +69,7 @@ def readme(): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Operating System :: OS Independent", "Topic :: Database :: Front-Ends", ], diff --git a/testing/constraints-3.13.txt b/testing/constraints-3.13.txt new file mode 100644 index 0000000..e69de29