Skip to content

Commit

Permalink
Now testing against Django 3.0.x. Also test requirements updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-lpa committed Jul 1, 2020
1 parent 0c6e258 commit 9ef7319
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
3 changes: 2 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ django_find_project = false
DJANGO_SETTINGS_MODULE = tests.settings_postgres

python_paths = .
junit_family=xunit2

addopts = --ignore=tracking_analyzer/migrations
--cov-report=xml
--cov tracking_analyzer/ tests/
--junit-xml=junit.xml
--pylint tracking_analyzer
--pylint-rcfile=pylint.rc
--codestyle
--pycodestyle
--verbose
--color=yes
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def run_tests(self):
'Development Status :: 5 - Production/Stable',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: Unix',
Expand Down
18 changes: 9 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[tox]
envlist = django{21,22}
envlist = django{22,30}
skip_missing_interpreters = true

[testenv]
deps=
factory-boy
factory-boy==2.12.0
psycopg2-binary
pytest==5.2.1
pytest-cov==2.8.1
pytest-django==3.6.0
pytest-pycodestyle==1.4.0
pytest==5.4.3
pytest-cov==2.10.0
pytest-django==3.9.0
pytest-pycodestyle==2.1.3
pytest-pylint==0.14.1
pytest-pythonpath
pytest-runner
django21: Django>=2.1,<2.2
pytest-pythonpath==0.7.3
pytest-runner==5.2
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
commands=
py.test \
--cov-report=xml \
Expand Down

0 comments on commit 9ef7319

Please sign in to comment.