From 7aceabed079586f76677d76f43ef8d430edb5e67 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Mon, 6 Apr 2026 21:37:55 -0300 Subject: [PATCH] ci: add timeout-minutes to all test jobs to prevent indefinite hangs --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 415788bb5a..0e28a0b72a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -148,6 +148,7 @@ jobs: test-unit: name: Unit Tests runs-on: ubuntu-latest + timeout-minutes: 15 needs: build strategy: matrix: @@ -167,6 +168,7 @@ jobs: test-coverage: name: Coverage runs-on: ubuntu-latest + timeout-minutes: 15 needs: build env: JWT_SECRET: ci-test-secret-with-sufficient-length-for-validation @@ -316,6 +318,7 @@ jobs: test-e2e: name: E2E Tests runs-on: ubuntu-latest + timeout-minutes: 30 needs: build env: JWT_SECRET: ci-test-secret-with-sufficient-length-for-validation @@ -334,6 +337,7 @@ jobs: test-integration: name: Integration Tests runs-on: ubuntu-latest + timeout-minutes: 10 needs: build env: JWT_SECRET: ci-test-secret-with-sufficient-length-for-validation