Makefile test target works now with protos (#515)

This commit is contained in:
Jonathan Zernik 2020-12-26 05:29:02 -08:00 committed by GitHub
parent 293cbc4db5
commit 0064d8ea48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 5 deletions

View file

@ -10,12 +10,12 @@ clean:
find . -name '*.pyi' -delete
make --directory=frontend clean;
test:
test: gen-protos
tox
tox -e codechecks
tox -e mypy
codeformat:
codeformat: gen-protos
tox -e autoflake
tox -e autopep8
tox -e isort
@ -27,10 +27,13 @@ itest:
coverage:
tox -e coverage
mypy:
mypy: gen-protos
tox -e mypy
run:
run: gen-protos
tox -e run
gen-protos:
tox -e setup
.PHONY: all clean test itest coverage mypy run

View file

@ -10,7 +10,6 @@ deps =
-rrequirements.txt
passenv = MY_APP_CONFIG_FILE
commands =
{envbindir}/python setup.py build_proto_modules
py.test {posargs:tests}
[testenv:coverage]
@ -79,5 +78,10 @@ deps =
commands =
isort .
[testenv:setup]
basepython = python3.8
commands =
{envbindir}/python setup.py build_proto_modules
[flake8]
ignore = E501