Skip to content

Commit

Permalink
test(ci, unit): add 5mins to allowable gradle setup and total time
Browse files Browse the repository at this point in the history
occasionally a runner was taking a bit too long to complete adding
to the flake / false-negative signal taking away from the actual
signalling value of CI
  • Loading branch information
mikehardy committed May 30, 2024
1 parent 1928dd0 commit 4822cb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests_unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
# Do not run the scheduled jobs on forks
if: (github.event_name == 'schedule' && github.repository == 'ankidroid/Anki-Android') || (github.event_name != 'schedule')
needs: matrix_prep
timeout-minutes: 30
timeout-minutes: 35
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
strategy:
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
timeout-minutes: 5
timeout-minutes: 10
with:
# Only write to the cache for builds on the 'main' branches, stops branches evicting main cache
# Builds on other branches will only read from main branch cache writes
Expand Down

0 comments on commit 4822cb9

Please sign in to comment.