Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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" },
]

Expand Down