From d96acf921ef5b21ad8ab964cff735c78c1d85c78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Wed, 13 Nov 2024 18:59:30 -0600 Subject: [PATCH] ci: Stop testing with Postgres 12 (#481) Closes https://github.com/MeltanoLabs/target-postgres/issues/475 --- .github/workflows/ci_workflow.yml | 4 +--- tox.ini | 9 ++++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_workflow.yml b/.github/workflows/ci_workflow.yml index 28a823a..1e8216b 100644 --- a/.github/workflows/ci_workflow.yml +++ b/.github/workflows/ci_workflow.yml @@ -43,8 +43,6 @@ jobs: postgres-version: - "17" include: - - python-version: "3.13" - postgres-version: "12" - python-version: "3.13" postgres-version: "13" - python-version: "3.13" @@ -81,7 +79,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 f984b77..fa97c20 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,17 @@ # This file can be used to customize tox tests as well as other test frameworks like flake8 and mypy [tox] -envlist = py312 +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 py313` -envlist = py3{9,10,11,12,13} +# To execute, run `tox -e 3.13` +envlist = 3.{9,10,11,12,13} deps = pytest commands =