Skip to content

Commit 582dfde

Browse files
authoredMar 19, 2025··
scr/main deleted (#41)
1 parent 190474a commit 582dfde

File tree

3 files changed

+4
-41
lines changed

3 files changed

+4
-41
lines changed
 

‎Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ RUN uv sync --frozen --no-install-project
1717
RUN uv sync --frozen
1818

1919
# Command to run the app when the container starts
20-
CMD ["uv", "run", "test_main.py"]
20+
CMD ["uv", "run", "main.py"]

‎src/main.py ‎main.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from fastapi import FastAPI
22
from fastapi.responses import RedirectResponse
3-
from src.routers.health import health_router
4-
from src.routers.mtcars import data_output
3+
from routers.health import health_router
4+
from routers.mtcars import data_output
55
import uvicorn
66
import tomllib
77

@@ -20,7 +20,7 @@
2020
# Description of API defined in docs/documentation.py for ease of reading
2121
description=description,
2222
summary="This project is a proof-of-concept (POC) web API built using the FastAPI library.",
23-
version=version,
23+
version="0.0.1",
2424
contact={
2525
"name": "RMI",
2626
"url": "https://github.com/RMI",

‎test_main.py

-37
This file was deleted.

1 commit comments

Comments
 (1)

github-actions[bot] commented on Mar 19, 2025

@github-actions[bot]

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/models
   outputs.py14140%1–17
src/routers
   health.py6183%22
   mtcars.py14140%1–37
src/services
   mtcars.py18180%1–28
TOTAL554715% 

Tests Skipped Failures Errors Time
1 0 💤 0 ❌ 1 🔥 2.201s ⏱️
Please sign in to comment.