Use hypexport package in demo.py, clean up tox

This commit is contained in:
Dima Gerasimov 2020-09-28 18:54:51 +02:00 committed by karlicoss
parent abbaa47aaf
commit deefa9fbbc
3 changed files with 11 additions and 14 deletions

View file

@ -5,7 +5,7 @@ envlist = py3,mypy # pylint
# TODO ugh. unclear how to reuse setup.cfg deps in tox
[testenv]
passenv = CI CI_*
# deliberately set to nonexistent pathe to check the fallback logic
# deliberately set to nonexistent path to check the fallback logic
setenv = MY_CONFIG = nonexistent
commands =
pip install -e .[testing]
@ -21,11 +21,6 @@ commands =
[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 config as example? to dummy run CI
commands = ./demo.py