diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 81f3e5d..3ac4112 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,8 +56,6 @@ jobs: postgres-version: - "17" include: - - python-version: "3.13" - postgres-version: "12" - python-version: "3.13" postgres-version: "13" - python-version: "3.13" @@ -115,7 +113,7 @@ jobs: pipx install tox - name: Run pytest run: | - tox -e $(echo py${{ matrix.python-version }} | tr -d .) + tox -e ${{ matrix.python-version }} - name: Run lint run: | tox -e lint diff --git a/tox.ini b/tox.ini index bc71e5f..66d3f1c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,22 +1,20 @@ # This file can be used to customize tox tests as well as other test frameworks like flake8 and mypy [tox] -envlist = py313 +envlist = + 3.{9,10,11,12,13} + format + lint isolated_build = true min_version = 4 [testenv] -# Run the python tests. -# To execute, run `tox -e pytest` -envlist = py3{9,10,11,12,13} deps = pytest commands = pytest [testenv:format] -# Attempt to auto-resolve lint errors before they are raised. -# To execute, run `tox -e format` skip_install = true deps = ruff @@ -25,8 +23,6 @@ commands = ruff format tap_postgres/ [testenv:lint] -# Raise an error if lint and style standards are not met. -# To execute, run `tox -e lint` deps = mypy ruff