From 5f6be9ecdb5e99b4ff0cb02e608a223c058d9fe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Wed, 13 Nov 2024 19:03:02 -0600 Subject: [PATCH] ci: Stop testing with Postgres 12 Closes https://github.com/MeltanoLabs/tap-postgres/issues/533 --- .github/workflows/test.yml | 4 +--- tox.ini | 12 ++++-------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 81f3e5d7..3ac4112b 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 bc71e5f7..66d3f1c2 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