add my.demo for testing out various approaches to configuring

This commit is contained in:
Dima Gerasimov 2020-05-10 21:32:48 +01:00
parent d6f071e3b1
commit 0ac78143f2
4 changed files with 107 additions and 4 deletions

View file

@ -13,7 +13,7 @@ commands =
# todo these are probably not necessary anymore?
python3 -c 'from my.config import stub as config; print(config.key)'
python3 -c 'import my.config; import my.config.repos' # shouldn't fail at least
python3 -m pytest tests/misc.py tests/get_files.py tests/config.py::test_set_repo tests/config.py::test_environment_variable
python3 -m pytest tests/misc.py tests/get_files.py tests/config.py::test_set_repo tests/config.py::test_environment_variable tests/demo.py
# TODO add; once I figure out porg depdencency?? tests/config.py
# TODO run demo.py? just make sure with_my is a bit cleverer?
# TODO e.g. under CI, rely on installing