various CI updates

This commit is contained in:
Dima Gerasimov 2020-01-24 10:37:42 +00:00 committed by Dmitrii Gerasimov
parent 7d56d85731
commit 6787c9c0d6
5 changed files with 25 additions and 11 deletions

22
tox.ini
View file

@ -16,6 +16,15 @@ commands =
# TODO e.g. under CI, rely on installing
[testenv:demo]
# TODO wtf????
changedir = {toxworkdir}/{envname}/../..
# TODO not sure?? also reuse installed my. instead on installing in demo.py?
skip_install = true
# TODO need to keep full mycfg.py as example? to dummy run CI
commands = ./demo.py
# [testenv:mypy]
# skip_install = true
# commands =
@ -23,8 +32,11 @@ commands =
# python -m mypy --check-untyped src/cachew
# [testenv:pylint]
# skip_install = true
# commands =
# pip install -e .[testing]
# python -m pylint -E src/cachew
[testenv:pylint]
# TODO wtf????
changedir = {toxworkdir}/{envname}/../..
skip_install = true
commands =
pip install -e .[testing]
# for now ignore import errors until I figure out how to import everything for CI checking..
python -m pylint -E -d import-error my