quick bugfix

This commit is contained in:
Michael 2024-01-20 18:06:54 +01:00
parent 557e16dfd6
commit 80706e2c16
No known key found for this signature in database
GPG Key ID: 066ED7D431960C9B
4 changed files with 4 additions and 5 deletions

View File

@ -13,11 +13,11 @@ if %errorlevel% neq 0 (
exit /b 1
)
cd ../docker
cd %~dp0
echo Building docker image...
docker compose build cat-detection
docker-compose -f ../docker/docker-compose.yml build
if %errorlevel% neq 0 (
echo Building cdocker imagew failed.
echo Building docker image failed.
exit /b 1
)

View File

@ -1,8 +1,6 @@
@echo off
echo Running unit tests.
set PYTHONPATH=%CD%;%PYTHONPATH%
cd %~dp0
pytest ../tests

View File

@ -1,6 +1,7 @@
@echo off
chcp 65001 >nul
cd %~dp0
docker compose -f ../docker/docker-compose.yml up cat-detection -d
if %errorlevel% neq 0 (
echo Starting docker container failed.

0
tests/__init__.py Normal file
View File