get rid of tox

This commit is contained in:
Cyril Jouve 2021-10-17 23:19:43 +02:00
parent 4a46aa39a5
commit 68520c5981
No known key found for this signature in database
GPG Key ID: 226875D8A3B15FA6
3 changed files with 8 additions and 15 deletions

View File

@ -51,8 +51,8 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: pip install tox
- name: Build
run: make
- name: Run tests
run: tox -e ${{ matrix.python }}
run: make check
timeout-minutes: 5

View File

@ -20,3 +20,8 @@ libraries=
[metadata]
license_file = LICENSE
[flake8]
max-line-length = 85
ignore = E128, W503, E741
exclude = build, doc, tests/dbapi20.py

12
tox.ini
View File

@ -1,12 +0,0 @@
[tox]
envlist = {3.6,3.7,3.8,3.9,3.10}
[testenv]
commands = make check
whitelist_externals = make
passenv = PG* PSYCOPG2_TEST*
[flake8]
max-line-length = 85
ignore = E128, W503, E741
exclude = build, doc, tests/dbapi20.py