forked from fosslight/fosslight_scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (34 loc) · 750 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2020 LG Electronics Inc.
# SPDX-License-Identifier: Apache-2.0
[tox]
envlist = test_run
skipdist = true
[testenv]
install_command = pip install {opts} {packages}
allowlist_externals = cat
cp
rm
ls
pytest
setenv =
PYTHONPATH={toxinidir}
[flake8]
max-line-length = 130
exclude = .tox/*
[pytest]
testpaths = tests
norecursedirs = test_result_*
[testenv:test_run]
deps =
-r{toxinidir}/requirements-dev.txt
changedir = {toxinidir}/tests
commands =
pytest
[testenv:release]
deps =
-r{toxinidir}/requirements-dev.txt
changedir = {toxinidir}/tests
commands =
pytest -v --flake8