diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ee5ebe76c..f153d1f2a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -67,14 +67,14 @@ jobs: | awk '{print $2}') sudo apt-get -qq -y install "libpq-dev=${pqver}" "libpq5=${pqver}" - - name: Install tox - run: pip install "tox < 4" - uses: actions/setup-python@v6 with: python-version: ${{ matrix.python }} allow-prereleases: true + - name: Install + run: pip install . - name: Run tests env: - MATRIX_PYTHON: ${{ matrix.python }} - run: tox -e ${MATRIX_PYTHON%-dev} + PYTHON_VERSION: ${{ matrix.python }} + run: make check timeout-minutes: 5 diff --git a/setup.cfg b/setup.cfg index dcea6a984..b9b8f7552 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,3 +20,8 @@ libraries= [metadata] license_files = LICENSE + +[flake8] +max-line-length = 85 +ignore = E128, W503, E741 +exclude = build, doc, tests/dbapi20.py diff --git a/tox.ini b/tox.ini deleted file mode 100644 index b56b7b6a0..000000000 --- a/tox.ini +++ /dev/null @@ -1,13 +0,0 @@ -[tox] -envlist = {3.10,3.11,3.12,3.13,3.14,3.15} - -[testenv] -commands = make check -whitelist_externals = make -passenv = PG* PSYCOPG2_TEST* -basepython = python{envname} - -[flake8] -max-line-length = 85 -ignore = E128, W503, E741 -exclude = build, doc, tests/dbapi20.py