forked from fsfe/reuse-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (40 loc) · 1006 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
36
37
38
39
40
41
42
43
44
45
46
# SPDX-FileCopyrightText: 2017 Free Software Foundation Europe e.V. <https://fsfe.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
[tox]
envlist = py{36,37,38,39}-test, lint, black, reuse, docs
[testenv]
passenv = HOME CI
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands =
py.test --cov-report term-missing --cov={envsitepackagesdir}/reuse
[testenv:lint]
basepython = python3
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands =
/usr/bin/make lint
[testenv:black]
basepython = python3
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands =
/usr/bin/make blackcheck
[testenv:reuse]
basepython = python3
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands =
/usr/bin/make reuse
[testenv:docs]
basepython = python3
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands =
/usr/bin/make docs