Run python unit tests in a github actions (#2589)

* tox tests initial commit

* run tests in the Dockerfile during the build phase

* remove local tests

Co-authored-by: YS <ys@gm.com>
This commit is contained in:
Yuriy Sannikov
2022-01-14 16:31:25 +03:00
committed by Blake Blackshear
parent 80627e4989
commit 6eecb6780e
6 changed files with 43 additions and 8 deletions

View File

@@ -77,9 +77,6 @@ class FrigateApp:
self.config = user_config.runtime_config
for camera_name in self.config.cameras.keys():
# generage the ffmpeg commands
self.config.cameras[camera_name].create_ffmpeg_cmds()
# create camera_metrics
self.camera_metrics[camera_name] = {
"camera_fps": mp.Value("d", 0.0),