Fully working tox run
This commit is contained in:
parent
96bd419a24
commit
14903f3bbd
3 changed files with 5 additions and 5 deletions
|
@ -182,9 +182,9 @@ path `/databases/<service_name>/dump.sql` or similar.
|
||||||
## Running Tests
|
## Running Tests
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python setup.py develop
|
pip install -e src/
|
||||||
pip install -r tests/requirements.txt
|
pip install -r src/tests/requirements.txt
|
||||||
pytest tests
|
tox
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building Docs
|
## Building Docs
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[pytest]
|
[pytest]
|
||||||
testpaths = tests
|
testpaths = src/tests
|
||||||
python_files=test*.py
|
python_files=test*.py
|
||||||
addopts = -v --verbose
|
addopts = -v --verbose
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -5,7 +5,7 @@
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
setupdir={toxinidir}/src
|
setupdir={toxinidir}/src
|
||||||
envlist =
|
envlist =
|
||||||
; py37
|
py37
|
||||||
pep8
|
pep8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
|
Loading…
Add table
Reference in a new issue