-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
51 lines (42 loc) · 1.12 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[tox]
env_list =
py37-django32-payments{015,10}-{sqlite,postgres}
py{38,39,310,311}-django{32,40,41,42}-payments{015,10}-{sqlite,postgres}
py{310,311}-django{main}-payments{015,10}-{sqlite,postgres}
lint
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311, lint
[gh-actions:env]
[testenv:lint]
description = Run several code linting/formatting tools
deps =
flake8
flake8-isort
flake8-black
mypy
django-stubs
commands =
flake8 django_payments_mollie
mypy django_payments_mollie
[testenv]
description = Run the test suite using pytest
use_develop = true
extras = test
deps =
django32: django>=3.2,<3.3
django40: django>=4.0,<4.1
django41: django>=4.1,<4.2
django42: django>=4.2a1,<4.3
djangomain: git+https://github.com/django/django.git@main#egg=Django
djangomain: git+https://github.com/wagtail/django-modelcluster.git
payments10: django-payments>=1.0,<1.1
payments015: django-payments>=0.15,<0.16
postgres: psycopg2-binary
set_env:
postgres: DATABASE_URL={env:DATABASE_URL:postgres://postgres:postgres@localhost/django_payments_mollie}
commands = pytest