Skip to content

Commit

Permalink
ci: Stop testing with Postgres 12
Browse files Browse the repository at this point in the history
Closes #533
  • Loading branch information
edgarrmondragon committed Nov 14, 2024
1 parent e6dd19c commit 5f6be9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
12 changes: 4 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5f6be9e

Please sign in to comment.