my.location: let takeout provider be in a separate my.location.google; add CI test & enable mypy
This commit is contained in:
parent
90ada92110
commit
ba9acc3445
7 changed files with 82 additions and 35 deletions
8
tox.ini
8
tox.ini
|
@ -13,6 +13,10 @@ 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
|
||||
|
||||
# my.location.google deps
|
||||
pip install geopy ijson
|
||||
|
||||
python3 -m pytest \
|
||||
tests/core.py \
|
||||
tests/misc.py \
|
||||
|
@ -20,7 +24,8 @@ commands =
|
|||
tests/config.py::test_set_repo \
|
||||
tests/config.py::test_environment_variable \
|
||||
tests/demo.py \
|
||||
tests/bluemaestro.py
|
||||
tests/bluemaestro.py \
|
||||
tests/location.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
|
||||
|
@ -57,6 +62,7 @@ commands =
|
|||
-p my.body.exercise.cardio \
|
||||
-p my.body.exercise.cross_trainer \
|
||||
-p my.bluemaestro \
|
||||
-p my.location.google \
|
||||
--txt-report .mypy-coverage \
|
||||
--html-report .mypy-coverage \
|
||||
{posargs}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue