diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 63935ec..4cfa5ec 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -8,7 +8,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [2.7, 3.6, 3.7, 3.8, 3.9] + python-version: [3.9, 3.11] services: postgres: @@ -39,4 +39,4 @@ jobs: - name: Test with pytest run: | pip install -e . - pytest + python -m pytest diff --git a/setup.cfg b/setup.cfg index 1017c21..51cec1a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,5 +2,8 @@ django_find_project = false DJANGO_SETTINGS_MODULE = tests.settings +[flake8] +extend-ignore = F401,F403,E501 + [wheel] universal = 1 diff --git a/setup.py b/setup.py index adbb70c..068e85b 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name="django-tracking-model", - version="0.1.6", + version="0.1.7", packages=["tracking_model"], description="Track changes made to django model instance fields.", long_description=README, diff --git a/tests/settings.py b/tests/settings.py index 68c064e..371415e 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -14,7 +14,7 @@ "NAME": "django_tracking_model", "USER": "postgres", "PASSWORD": "postgres", - "HOST": "localhost", + "HOST": "postgres", "PORT": "", } }