5 Commits

Author SHA1 Message Date
df1c971354 Merge https://git.allucanget.biz/allucanget/calminer into feat/ci-overhaul-20251029
Some checks failed
CI / test (pull_request) Failing after 2m15s
2025-11-02 16:29:25 +01:00
3a8aef04b0 fix: update database connection details in CI workflow for consistency 2025-11-02 16:29:19 +01:00
45d746d80a Merge pull request 'fix: update UVICORN_PORT and UVICORN_WORKERS in Dockerfile for consistency' (#10) from feat/ci-overhaul-20251029 into main
Some checks failed
CI / test (push) Failing after 4m22s
Reviewed-on: #10
2025-11-02 15:59:22 +01:00
f1bc7f06b9 fix: hardcode database connection details in CI workflow for consistency
Some checks failed
CI / test (pull_request) Failing after 1m54s
2025-11-02 13:40:06 +01:00
82e98efb1b fix: remove DB_PORT variable and use hardcoded value in CI workflow for consistency
Some checks failed
CI / test (pull_request) Failing after 2m24s
2025-11-02 13:09:09 +01:00

View File

@@ -10,9 +10,8 @@ jobs:
test: test:
env: env:
APT_CACHER_NG: http://192.168.88.14:3142 APT_CACHER_NG: http://192.168.88.14:3142
DB_DRIVER: postgresql DB_DRIVER: postgresql+psycopg2
DB_HOST: postgres DB_HOST: 192.168.88.35
DB_PORT: '5432'
DB_NAME: calminer_test DB_NAME: calminer_test
DB_USER: calminer DB_USER: calminer
DB_PASSWORD: calminer_password DB_PASSWORD: calminer_password
@@ -61,9 +60,9 @@ jobs:
- name: Run tests - name: Run tests
env: env:
DATABASE_DRIVER: postgresql+psycopg2 DATABASE_DRIVER: ${ { env.DB_DRIVER } }
DATABASE_HOST: ${ { env.DB_HOST } } DATABASE_HOST: ${ { env.DB_HOST } }
DATABASE_PORT: ${ { env.DB_PORT } } DATABASE_PORT: 5432
DATABASE_USER: ${ { env.DB_USER } } DATABASE_USER: ${ { env.DB_USER } }
DATABASE_PASSWORD: ${ { env.DB_PASSWORD } } DATABASE_PASSWORD: ${ { env.DB_PASSWORD } }
DATABASE_NAME: ${ { env.DB_NAME } } DATABASE_NAME: ${ { env.DB_NAME } }