Merge pull request #2003 from famedly/krille/add-timeout-to-all-jobs

build: Add timeouts to all ci jobs
This commit is contained in:
Karthikeyan S 2025-01-20 14:36:00 +05:30 committed by GitHub
commit e0c1c7bb0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,7 @@ on:
jobs:
e2ee_test:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
homeserver: [synapse, dendrite, conduit]
@ -30,6 +31,7 @@ jobs:
coverage_without_olm:
runs-on: ubuntu-latest
timeout-minutes: 5
env:
NO_OLM: 1
steps:
@ -74,6 +76,7 @@ jobs:
merge_converage:
if: ${{ !cancelled() }}
runs-on: ubuntu-latest
timeout-minutes: 30
needs: [coverage, coverage_without_olm]
steps:
- uses: actions/checkout@v4
@ -103,6 +106,7 @@ jobs:
dart_web_compatible:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
@ -118,6 +122,7 @@ jobs:
database_web_tests:
runs-on: ubuntu-latest
timeout-minutes: 10
env:
NO_OLM: 1
steps:

View File

@ -20,6 +20,7 @@ jobs:
GH_TOKEN: ${{ github.token }}
needs: [publish]
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Create release