CI and test fixes
This commit is contained in:
parent
441676be27
commit
98a72ad733
2 changed files with 2 additions and 1 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
|
@ -26,6 +26,7 @@ jobs:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: postgresql+asyncpg://scholar:scholar@localhost:5432/scholar
|
DATABASE_URL: postgresql+asyncpg://scholar:scholar@localhost:5432/scholar
|
||||||
|
SCHOLAR_IMAGE_UPLOAD_DIR: /tmp/scholarr_uploads/scholar_images
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ class Settings:
|
||||||
frontend_dist_dir: str = _env_str("FRONTEND_DIST_DIR", "/app/frontend/dist")
|
frontend_dist_dir: str = _env_str("FRONTEND_DIST_DIR", "/app/frontend/dist")
|
||||||
scholar_image_upload_dir: str = _env_str(
|
scholar_image_upload_dir: str = _env_str(
|
||||||
"SCHOLAR_IMAGE_UPLOAD_DIR",
|
"SCHOLAR_IMAGE_UPLOAD_DIR",
|
||||||
"/var/lib/scholarr/uploads",
|
"/tmp/scholarr_uploads/scholar_images",
|
||||||
)
|
)
|
||||||
scholar_image_upload_max_bytes: int = _env_int(
|
scholar_image_upload_max_bytes: int = _env_int(
|
||||||
"SCHOLAR_IMAGE_UPLOAD_MAX_BYTES",
|
"SCHOLAR_IMAGE_UPLOAD_MAX_BYTES",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue