Bugfixes #6
@ -13,11 +13,11 @@ if %errorlevel% neq 0 (
|
|||||||
exit /b 1
|
exit /b 1
|
||||||
)
|
)
|
||||||
|
|
||||||
cd ../docker
|
cd %~dp0
|
||||||
echo [32mBuilding docker image...[0m
|
echo [32mBuilding docker image...[0m
|
||||||
docker compose build cat-detection
|
docker-compose -f ../docker/docker-compose.yml build
|
||||||
if %errorlevel% neq 0 (
|
if %errorlevel% neq 0 (
|
||||||
echo [31mBuilding cdocker imagew failed.[0m
|
echo [31mBuilding docker image failed.[0m
|
||||||
exit /b 1
|
exit /b 1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
echo [32mRunning unit tests.[0m
|
echo [32mRunning unit tests.[0m
|
||||||
|
|
||||||
set PYTHONPATH=%CD%;%PYTHONPATH%
|
|
||||||
|
|
||||||
cd %~dp0
|
cd %~dp0
|
||||||
pytest ../tests
|
pytest ../tests
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
chcp 65001 >nul
|
chcp 65001 >nul
|
||||||
|
|
||||||
|
cd %~dp0
|
||||||
docker compose -f ../docker/docker-compose.yml up cat-detection -d
|
docker compose -f ../docker/docker-compose.yml up cat-detection -d
|
||||||
if %errorlevel% neq 0 (
|
if %errorlevel% neq 0 (
|
||||||
echo [31mStarting docker container failed.[0m
|
echo [31mStarting docker container failed.[0m
|
||||||
|
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user