Add timeouts to our GitHub actions. (#4669)
6 hours is way too long and eats up the runners.
This commit is contained in:
1
.github/workflows/accessibility_tests.yml
vendored
1
.github/workflows/accessibility_tests.yml
vendored
@@ -10,6 +10,7 @@ jobs:
|
||||
tests:
|
||||
name: Tests
|
||||
runs-on: macos-15
|
||||
timeout-minutes: 120
|
||||
|
||||
concurrency:
|
||||
# Only allow a single run of this workflow on each branch, automatically cancelling older runs.
|
||||
|
||||
@@ -12,6 +12,8 @@ on:
|
||||
jobs:
|
||||
automatic-calendar-version:
|
||||
runs-on: macos-15
|
||||
timeout-minutes: 15
|
||||
|
||||
# Skip in forks
|
||||
if: github.repository == 'element-hq/element-x-ios'
|
||||
steps:
|
||||
|
||||
1
.github/workflows/compound-ios.yml
vendored
1
.github/workflows/compound-ios.yml
vendored
@@ -15,6 +15,7 @@ jobs:
|
||||
tests:
|
||||
|
||||
runs-on: macos-15
|
||||
timeout-minutes: 15
|
||||
|
||||
concurrency:
|
||||
# When running on develop, use the sha to allow all runs of this workflow to run concurrently.
|
||||
|
||||
1
.github/workflows/danger.yml
vendored
1
.github/workflows/danger.yml
vendored
@@ -8,6 +8,7 @@ jobs:
|
||||
build:
|
||||
name: Danger
|
||||
runs-on: macos-15
|
||||
timeout-minutes: 15
|
||||
|
||||
concurrency:
|
||||
# Only allow a single run of this workflow on each branch, automatically cancelling older runs.
|
||||
|
||||
1
.github/workflows/integration-tests.yml
vendored
1
.github/workflows/integration-tests.yml
vendored
@@ -10,6 +10,7 @@ jobs:
|
||||
integration_tests:
|
||||
name: Integration Tests
|
||||
runs-on: macos-15
|
||||
timeout-minutes: 45
|
||||
|
||||
concurrency:
|
||||
# Only allow a single run of this workflow on each branch, automatically cancelling older runs.
|
||||
|
||||
2
.github/workflows/translations-pr.yml
vendored
2
.github/workflows/translations-pr.yml
vendored
@@ -8,6 +8,8 @@ on:
|
||||
jobs:
|
||||
open-translations-pr:
|
||||
runs-on: macos-15
|
||||
timeout-minutes: 15
|
||||
|
||||
# Skip in forks
|
||||
if: github.repository == 'element-hq/element-x-ios'
|
||||
steps:
|
||||
|
||||
1
.github/workflows/ui_tests.yml
vendored
1
.github/workflows/ui_tests.yml
vendored
@@ -14,6 +14,7 @@ jobs:
|
||||
tests:
|
||||
name: Tests
|
||||
runs-on: macos-15
|
||||
timeout-minutes: 90
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
||||
1
.github/workflows/unit_tests.yml
vendored
1
.github/workflows/unit_tests.yml
vendored
@@ -12,6 +12,7 @@ jobs:
|
||||
tests:
|
||||
name: Tests
|
||||
runs-on: macos-15
|
||||
timeout-minutes: 60
|
||||
|
||||
concurrency:
|
||||
# Only allow a single run of this workflow on each branch, automatically cancelling older runs.
|
||||
|
||||
1
.github/workflows/unit_tests_enterprise.yml
vendored
1
.github/workflows/unit_tests_enterprise.yml
vendored
@@ -12,6 +12,7 @@ jobs:
|
||||
tests:
|
||||
name: Tests (Enterprise)
|
||||
runs-on: macos-15
|
||||
timeout-minutes: 45
|
||||
|
||||
# Skip in forks
|
||||
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
|
||||
|
||||
Reference in New Issue
Block a user