debian/bullseye
|
Last change
on this file since 48dcf77 was 176de96, checked in by Joachim Langenbach <joachim.langenbach@…>, 7 years ago |
|
Marked slow tests in tilegenerator as slow
|
-
Property mode
set to
100644
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | [tox]
|
|---|
| 2 | envlist = clean,py36
|
|---|
| 3 | #skipsdist = True
|
|---|
| 4 |
|
|---|
| 5 | [testenv]
|
|---|
| 6 | setenv =
|
|---|
| 7 | CPLUS_INCLUDE_PATH=/usr/include/gdal
|
|---|
| 8 | C_INCLUDE_PATH=/usr/include/gdal
|
|---|
| 9 | deps = -rrequirements.txt
|
|---|
| 10 | -rtest-requirements.txt
|
|---|
| 11 | pytest
|
|---|
| 12 | pytest-cov
|
|---|
| 13 | pytest-pep8
|
|---|
| 14 | coverage
|
|---|
| 15 | commands =
|
|---|
| 16 | pytest --cov=src --cov-append --cov-report=term-missing --cov-report=html:tests/reports/coverage-html --pep8
|
|---|
| 17 |
|
|---|
| 18 | [testenv:clean]
|
|---|
| 19 | deps = coverage
|
|---|
| 20 | skip_install = true
|
|---|
| 21 | commands = coverage erase
|
|---|
| 22 |
|
|---|
| 23 | [testenv:py3slow]
|
|---|
| 24 | commands =
|
|---|
| 25 | pytest --cov=src --cov-append --cov-report=term-missing --cov-report=html:tests/reports/coverage-html -m 'slow'
|
|---|
| 26 |
|
|---|
| 27 | [pytest]
|
|---|
| 28 | xfail_strict=true
|
|---|
| 29 | markers =
|
|---|
| 30 | slow: marks tests as slow (deselect with '-m "not slow"')
|
|---|
| 31 | norecursedirs=src/mapservice-webclient/*
|
|---|
| 32 | build/*
|
|---|
| 33 | pep8ignore =
|
|---|
| 34 | src/gnuboat/common/spatial/tilegenerator.py E701
|
|---|
| 35 | src/gnuboat/common/bin/gdal2tiles-gnuboat.py ALL
|
|---|
| 36 | src/gnuboat/mapservice_impl/tasks/tileconfig.py E701
|
|---|
| 37 | src/gnuboat/mapservice/controllers/*.py E501
|
|---|
| 38 | src/gnuboat/mapservice/models/*.py E501
|
|---|
| 39 | src/gnuboat/mapservice/test/*.py E501 W293
|
|---|
| 40 | src/gnuboat/deviceservice/controllers/*.py E501
|
|---|
| 41 | src/gnuboat/deviceservice/models/*.py E501
|
|---|
| 42 | src/gnuboat/deviceservice/test/*.py E501 W293
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.