Added timeouts to Github CI runner

- Backend tests: 10 min (step-level)
- Frontend tests: 10 min (step-level)
- Docker tests: 20 min (job-level, since it has multiple build/test steps)
This commit is contained in:
maziggy
2026-01-21 15:27:24 +01:00
parent a0650edd5b
commit 0d1056ded4
+3
View File
@@ -67,6 +67,7 @@ jobs:
pip install pytest pytest-asyncio pytest-cov
- name: Run tests
timeout-minutes: 10
run: |
cd backend
python -m pytest tests/ -v --tb=short
@@ -136,6 +137,7 @@ jobs:
run: npm ci
- name: Run tests
timeout-minutes: 10
working-directory: frontend
run: npm run test:run
@@ -168,6 +170,7 @@ jobs:
docker-test:
name: Docker Build
runs-on: ubuntu-latest
timeout-minutes: 20
needs: [backend-tests, frontend-build]
steps:
- uses: actions/checkout@v4