File: tox.ini

package info (click to toggle)
python-django-colorfield 0.8.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 336 kB
  • sloc: javascript: 2,510; python: 569; makefile: 12; sh: 2
file content (35 lines) | stat: -rw-r--r-- 708 bytes parent folder | download
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 =
    py38-{dj22,dj30,dj31,dj32}-{sqlite},
    py39-{dj22,dj30,dj31,dj32}-{sqlite},
    py310-{dj32,dj40,dj41}-{sqlite},
    py311-{dj41}-{sqlite},

[gh-actions]
python =
    3.8: py38
    3.9: py39
    3.10: py310
    3.11: py311

[testenv]
passenv = CI GITHUB_WORKFLOW

deps =
    dj22: Django == 2.2.*
    dj30: Django == 3.0.*
    dj31: Django == 3.1.*
    dj32: Django == 3.2.*
    dj40: Django == 4.0.*
    dj41: Django == 4.1.*

setenv =
    sqlite: DATABASE_ENGINE=sqlite

commands =
    pip install pip --upgrade
    pip install -r requirements.txt
    pip install -r requirements-test.txt
    coverage run --append --source=colorfield setup.py test
    coverage report -m
    codecov