forked from matthewwithanm/django-imagekit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
35 lines (30 loc) · 724 Bytes
/
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
[tox]
envlist =
py{36,37,38,39,310}-django{22,31,32},
py310-djangomain,
coverage-report
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310, coverage-report
[testenv]
deps =
-r test-requirements.txt
django22: django~=2.2.0
django31: django~=3.1.0
django32: django~=3.2.0
djangomain: https://github.com/django/django/archive/refs/heads/main.zip
setenv = COVERAGE_FILE=.coverage.{envname}
commands = python -m pytest --cov --cov-report term-missing:skip-covered
ignore_outcome =
djangomain: true
[testenv:coverage-report]
deps = coverage
skip_install = true
setenv = COVERAGE_FILE=.coverage
commands =
coverage combine
coverage report