source: src/common/tox.ini@ 3db3d13

debian/bullseye
Last change on this file since 3db3d13 was 3db3d13, checked in by Joachim Langenbach <joachim.langenbach@…>, 7 years ago
  • Enabled html coverage reports
    • Enabled pep8 testing
  • Property mode set to 100644
File size: 487 bytes
RevLine 
[9af0638]1[tox]
[ff880df]2envlist = clean,py36
[9af0638]3#skipsdist = True
4
5[testenv]
[d0a651d]6setenv =
7 CPLUS_INCLUDE_PATH=/usr/include/gdal
8 C_INCLUDE_PATH=/usr/include/gdal
9deps = -rrequirements.txt
10 pytest
[ff880df]11 pytest-cov
[3db3d13]12 pytest-pep8
[ff880df]13 coverage
[d0a651d]14install_command = pip install -U {opts} {packages}
[9af0638]15commands =
[3db3d13]16 pytest --cov=gnuboat_common --cov=bin --cov-append --cov-report=term-missing --cov-report=html:tests/reports/coverage-html --pep8
[ff880df]17
18[testenv:clean]
19deps = coverage
20skip_install = true
21commands = coverage erase
Note: See TracBrowser for help on using the repository browser.