File: tox.ini

package info (click to toggle)
pywps 4.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,016 kB
  • sloc: python: 8,846; xml: 723; makefile: 106
file content (35 lines) | stat: -rw-r--r-- 714 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[tox]
min_version = 4.0
envlist =
    py{310,311,312,313}{-extra,},
    lint
requires = pip >=25.2
opts = --verbose

[testenv:lint]
skip_install = true
extras =
deps =
    ruff
commands =
    ruff check pywps

[testenv]
setenv =
    PYTEST_ADDOPTS = "--color=yes"
    PYTHONPATH = {toxinidir}
    COV_CORE_SOURCE =
passenv =
    CI
    GITHUB_*
    LD_LIBRARY_PATH
download = True
install_command =
    python -m pip install --no-user {opts} {packages}
extras = dev
deps =
    extra: -rrequirements-extra.txt
commands =
;    # magic for gathering the GDAL version within tox
;    sh -c 'pip install GDAL=="$(gdal-config --version)" --global-option=build_ext --global-option="-I/usr/include/gdal"'
    pytest --cov