source: src/common/tox.ini@ 77cd9cf

debian/bullseye
Last change on this file since 77cd9cf 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
Line 
1[tox]
2envlist = clean,py36
3#skipsdist = True
4
5[testenv]
6setenv =
7 CPLUS_INCLUDE_PATH=/usr/include/gdal
8 C_INCLUDE_PATH=/usr/include/gdal
9deps = -rrequirements.txt
10 pytest
11 pytest-cov
12 pytest-pep8
13 coverage
14install_command = pip install -U {opts} {packages}
15commands =
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]
19deps = coverage
20skip_install = true
21commands = coverage erase
Note: See TracBrowser for help on using the repository browser.