From 70b6f5d017e1da153b224ac8f71146ebffd838e9 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sat, 2 Apr 2022 11:54:46 +0200 Subject: 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. --- .github/workflows/checks.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 587b6780a..e1281355c 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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: -- cgit v1.2.3