debian/bullseye
|
Last change
on this file since 8818b65 was 3db3d13, checked in by Joachim Langenbach <joachim.langenbach@…>, 7 years ago |
- Enabled html coverage reports
|
-
Property mode
set to
100644
|
|
File size:
487 bytes
|
| 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 | pytest
|
|---|
| 11 | pytest-cov
|
|---|
| 12 | pytest-pep8
|
|---|
| 13 | coverage
|
|---|
| 14 | install_command = pip install -U {opts} {packages}
|
|---|
| 15 | commands =
|
|---|
| 16 | pytest --cov=gnuboat_common --cov=bin --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
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.