Skip to content

Commit

Permalink
chore(CI): put timelimit on execution of each workflow (#1893)
Browse files Browse the repository at this point in the history
## Description

After having iOS build lasting almost 3h (due to poor internet
connection on worker, long download time & the machine was extremely
slow) I've decided to put timelimit on each workflow run.

I took a quick look at workflow durations in the past month and it looks
like 60 minutes should be enough.

## Changes

Added `timeout-minutes: 60` for each CI workflow

## Checklist

- [x] Ensured that CI passes
  • Loading branch information
kkafar authored Sep 15, 2023
1 parent 84ed791 commit bc899b8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/android-build-test-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
env:
WORKING_DIRECTORY: FabricTestExample
concurrency:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/android-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
env:
WORKING_DIRECTORY: TestsExample
concurrency:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ios-build-test-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
jobs:
build:
runs-on: macos-12
timeout-minutes: 60
env:
WORKING_DIRECTORY: FabricTestExample
concurrency:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ios-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
jobs:
build:
runs-on: macos-12
timeout-minutes: 60
env:
WORKING_DIRECTORY: TestsExample
concurrency:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tv-os-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
jobs:
build:
runs-on: macos-12
timeout-minutes: 60
env:
WORKING_DIRECTORY: TVOSExample
concurrency:
Expand Down

0 comments on commit bc899b8

Please sign in to comment.