Timeout CI after 45 minutes
Apparently, the Emulator job sometimes hangs and then uses CPU resources for the default timeout of 6 hours. This changes the timeout to 45 minutes.
This commit is contained in:
parent
310eccc4ce
commit
70b6f5d017
|
@ -10,6 +10,7 @@ jobs:
|
|||
code-style:
|
||||
name: "Code Style"
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -37,6 +38,7 @@ jobs:
|
|||
name: "Gradle Wrapper Validation"
|
||||
needs: code-style
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
|
@ -45,6 +47,7 @@ jobs:
|
|||
name: "Static Code Analysis"
|
||||
needs: code-style
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Cache Gradle
|
||||
|
@ -63,6 +66,7 @@ jobs:
|
|||
name: "Unit Test: ${{ matrix.variant }}"
|
||||
needs: code-style
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
|
@ -104,6 +108,7 @@ jobs:
|
|||
name: "Emulator Test"
|
||||
needs: code-style
|
||||
runs-on: macOS-latest
|
||||
timeout-minutes: 45
|
||||
env:
|
||||
api-level: 27
|
||||
steps:
|
||||
|
|
Loading…
Reference in New Issue