feat: Enhance CI workflows with health checks and update PostgreSQL image version
Some checks failed
Run Tests / e2e tests (push) Successful in 1m33s
Run Tests / lint tests (push) Failing after 2s
Run Tests / unit tests (push) Failing after 2s

This commit is contained in:
2025-10-27 21:12:46 +01:00
parent dcb08ab1b8
commit 723f6a62b8
3 changed files with 21 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ jobs:
target: [unit, e2e, lint]
services:
postgres:
image: postgres:16-alpine
image: postgres:16
env:
POSTGRES_DB: calminer_ci
POSTGRES_USER: calminer
@@ -36,6 +36,7 @@ jobs:
--health-retries 10
steps:
- name: Install Node.js runtime
if: ${{ matrix.target == 'e2e' }}
shell: bash
run: |
set -euo pipefail
@@ -63,8 +64,9 @@ jobs:
- name: Prepare Python environment
uses: ./.gitea/actions/setup-python-env
with:
install-playwright: ${{ matrix.target != 'e2e' }}
install-playwright: ${{ matrix.target == 'e2e' }}
use-system-python: 'true'
run-db-setup: ${{ matrix.target != 'lint' }}
- name: Run tests
run: |