diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 68989c81..8076ead8 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -10,21 +10,23 @@ jobs: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "pypy-3.9"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest, macos-latest, windows-latest] - exclude: - - os: windows-latest - python-version: "pypy-3.9" - - os: macos-latest - python-version: "pypy-3.9" + include: + - python-version: "pypy-3.9" + os: ubuntu-latest + - python-version: "pypy-3.10" + os: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install dependencies run: | python -m pip install --upgrade pip twine @@ -46,5 +48,6 @@ jobs: if: ${{ env.COVERALLS_REPO_TOKEN != 'windows-latest' }} env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | poetry run coveralls diff --git a/README.rst b/README.rst index c3f472fe..3de9b7bc 100644 --- a/README.rst +++ b/README.rst @@ -52,7 +52,7 @@ projects on the `discussion forum `_. Supported Python Versions ************************* -TinyDB has been tested with Python 3.8 - 3.11 and PyPy3. +TinyDB has been tested with Python 3.8 - 3.12 and PyPy3. Example Code ************ diff --git a/pyproject.toml b/pyproject.toml index 7fe50517..f64ee7c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Operating System :: OS Independent",