Skip to content

Commit b8f4d50

Browse files
committed
chore: updates ci timeout and concurrency
1 parent cae2a4c commit b8f4d50

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/flow.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@ on:
1010
- master
1111
- development
1212

13+
concurrency:
14+
group: build-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
build:
19+
timeout-minutes: 40
1520
runs-on: ubuntu-latest
1621
env:
1722
JVM_OPTS: -Xmx3200m
@@ -20,11 +25,10 @@ jobs:
2025
- name: Checkout
2126
uses: actions/checkout@v2
2227
- name: Set up JDK
23-
uses: actions/setup-java@v1
28+
uses: actions/setup-java@v2
2429
with:
2530
java-version: 11
26-
- name: Download Dependencies
27-
run: ./gradlew androidDependencies
31+
distribution: 'adopt'
2832
- name: Cache dependencies
2933
uses: actions/cache@v2
3034
with:
@@ -40,7 +44,7 @@ jobs:
4044
chmod +x ./cc-test-reporter
4145
- name: Run Tests
4246
run: |
43-
./gradlew jacocoTestReport -PdisablePreDex --continue --stacktrace --no-daemon --max-workers 4
47+
./gradlew jacocoTestReport
4448
- name: Upload coverage
4549
run: bash <(curl -s https://codecov.io/bash)
4650
- name: Set jacoco.xml path for code climate

0 commit comments

Comments
 (0)