File: tox.ini

package info (click to toggle)
manimpango 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,804 kB
  • sloc: python: 1,252; sh: 164; makefile: 18
file content (30 lines) | stat: -rw-r--r-- 726 bytes parent folder | download | duplicates (3)
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
# 'Tox' is a tool for automating sdist/build/test cycles against
# multiple Python versions:
#   https://pypi.python.org/pypi/tox
#   https://tox.readthedocs.io/

# To run against a specific subset of Python versions, use:
#   tox -e py37

# Tox assumes that you have appropriate Python interpreters already
# installed and that they can be run as (e.g.) 'python3.8'

[tox]
envlist =
    lint
    py36,py37,py38,py39,

[testenv]
deps= -Ur{toxinidir}/requirements-dev.txt
passenv= PKG_CONFIG_PATH
commands=
    {envpython} setup.py build_ext -i --coverage
    python -m pytest

[testenv:lint]
commands =
    pre-commit run --all-files --show-diff-on-failure
deps =
    pre-commit
skip_install = true
passenv = PRE_COMMIT_COLOR