Skip to content

Commit

Permalink
chore: set 20 min timeout for ui-test/bench jobs (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP authored Mar 5, 2024
1 parent 210f157 commit 87fa961
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
test-ui:
name: 'Test UI'
runs-on: macos-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
Expand All @@ -103,7 +104,7 @@ jobs:
key: avd-api-${{ matrix.api-level }}-target-${{ matrix.target }}
- name: 'Create AVD'
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
uses: reactivecircus/android-emulator-runner@v2.29.0
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
Expand All @@ -114,7 +115,7 @@ jobs:
profile: Nexus 6
script: echo "Generated AVD snapshot for caching."
- name: 'Tests'
uses: reactivecircus/android-emulator-runner@v2
uses: reactivecircus/android-emulator-runner@v2.29.0
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
Expand All @@ -137,6 +138,7 @@ jobs:
test-minified:
name: 'Test UI Minified'
runs-on: macos-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
Expand All @@ -161,7 +163,7 @@ jobs:
key: avd-api-${{ matrix.api-level }}-target-${{ matrix.target }}
- name: 'Create AVD'
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
uses: reactivecircus/android-emulator-runner@v2.29.0
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
Expand All @@ -172,7 +174,7 @@ jobs:
profile: Nexus 6
script: echo "Generated AVD snapshot for caching."
- name: 'Tests'
uses: reactivecircus/android-emulator-runner@v2
uses: reactivecircus/android-emulator-runner@v2.29.0
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
Expand All @@ -195,6 +197,7 @@ jobs:
test-benchmark:
name: 'Test Benchmark'
runs-on: macos-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
Expand All @@ -219,7 +222,7 @@ jobs:
key: avd-api-${{ matrix.api-level }}-target-${{ matrix.target }}
- name: 'Create AVD'
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
uses: reactivecircus/android-emulator-runner@v2.29.0
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
Expand All @@ -229,7 +232,7 @@ jobs:
arch: x86_64
profile: Nexus 6
script: echo "Generated AVD snapshot for caching."
- uses: reactivecircus/android-emulator-runner@v2
- uses: reactivecircus/android-emulator-runner@v2.29.0
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
Expand Down

0 comments on commit 87fa961

Please sign in to comment.