diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a2dbbd7..c9f64a3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,7 +24,16 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: [ + "3.7", + "3.8", + "3.9", + "3.10", + "3.11", + "3.12", + "3.13", + "3.14", + ] os: ["ubuntu-22.04"] cratedb-version: ["nightly"] fail-fast: false @@ -65,9 +74,15 @@ jobs: pip install --editable=.[test,develop] - name: Run linter and software tests + if: matrix.python-version != '3.7' && matrix.python-version != '3.8' && matrix.python-version != '3.9' run: poe check + - name: Run software tests + if: matrix.python-version == '3.7' && matrix.python-version == '3.8' && matrix.python-version == '3.9' + run: poe test + - name: Upload coverage to Codecov + if: matrix.python-version != '3.7' && matrix.python-version != '3.8' && matrix.python-version != '3.9' uses: codecov/codecov-action@v5 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index 5345888..56e9f1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,6 +44,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Communications", "Topic :: Database", "Topic :: Documentation", @@ -65,7 +66,7 @@ dependencies = [ ] optional-dependencies.develop = [ "poethepoet<1", - "proselint<1", + "proselint>=0.16,<1; python_version>='3.10'", "pyproject-fmt<3", "ruff<0.15", "validate-pyproject<1", @@ -124,7 +125,7 @@ lint.select = [ "YTT", ] -lint.extend-ignore = [ "PD901" ] +lint.extend-ignore = [ ] lint.per-file-ignores."tests/*" = [ "S101" ] # Use of `assert` detected [tool.pytest.ini_options] @@ -167,7 +168,7 @@ lint = [ { cmd = "ruff check sqlalchemy_postgresql_relaxed/ tests/" }, { cmd = "ruff format --check sqlalchemy_postgresql_relaxed/ tests/" }, { cmd = "validate-pyproject pyproject.toml" }, - { cmd = "proselint *.rst" }, + { cmd = "proselint check *.rst" }, # { cmd = "mypy" }, ]