Run codecov in run_tests

This commit is contained in:
Sebastian Englbrecht 2022-12-20 18:59:33 +01:00
parent 368c07cc34
commit 047bae2f11
2 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,7 @@ run: local
docker run --rm --publish=5000:5000 --volume=${PWD}/config/config.yml:/config/config.yml frigate:latest
run_tests: local
docker run --rm --workdir=/opt/frigate --entrypoint= frigate:latest python3 -u -m unittest
docker run --rm --workdir=/opt/frigate --entrypoint= frigate:latest /bin/bash -c "python3 -u -m coverage run -m unittest;python3 -m coverage report --include=frigate/*"
docker run --rm --workdir=/opt/frigate --entrypoint= frigate:latest python3 -u -m mypy --config-file frigate/mypy.ini frigate
.PHONY: run_tests

View File

@ -1,4 +1,5 @@
click == 8.1.*
coverage == 7.0.*
Flask == 2.2.*
imutils == 0.5.*
matplotlib == 3.6.*