-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtox.ini
More file actions
26 lines (21 loc) · 711 Bytes
/
tox.ini
File metadata and controls
26 lines (21 loc) · 711 Bytes
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
[tox]
envlist = py3
skipsdist = true
[testenv]
deps = -r requirements.txt
commands = test_plugin --standalone plugin.py
[testenv:regenerate]
commands = test_plugin --standalone plugin.py --regenerate
[testenv:package]
deps = hansken-extraction-plugin==0.10.0
commands = build_plugin . {posargs}
[testenv:integration-test]
deps = hansken-extraction-plugin==0.10.0
commands =
build_plugin . plugin-to-test {posargs}
test_plugin --docker plugin-to-test
[testenv:upgrade]
deps = pip-tools
commands =
pip-compile --upgrade --no-header --no-emit-options --strip-extras --output-file requirements.txt requirements.in
python -c 'import shutil, os; os.path.exists(".tox/py3") and shutil.rmtree(".tox/py3")'