mcaulifn/solcast

View on GitHub
tox.ini

Summary

Maintainability
Test Coverage
[tox]
envlist = py38, py39, py310, py311, coverage, pylint
isolated_build = true


[testenv:pylint]
basepython = python
allowlist_externals = poetry
commands_pre =
    poetry install --no-root
commands = 
    poetry run pylint pysolcast

[testenv]
setenv =
    PYTHONPATH = {toxinidir}
allowlist_externals = poetry
commands_pre =
    poetry install --no-root
commands =
    poetry run python -m pytest --cov=pysolcast --doctest-modules --cov-report=term-missing -l --junitxml=pytest-report.xml --cov-report xml:coverage.xml tests/