mirror of
https://github.com/thunderbird/thunderbird-android.git
synced 2024-09-19 19:52:14 +02:00
Add ci gradle.properties and move quality checks to the start
This commit is contained in:
parent
713ff9ea3b
commit
d142bbef96
6
.github/ci-gradle.properties
vendored
Normal file
6
.github/ci-gradle.properties
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
org.gradle.daemon=false
|
||||||
|
org.gradle.parallel=true
|
||||||
|
org.gradle.workers.max=2
|
||||||
|
|
||||||
|
kotlin.incremental=false
|
||||||
|
kotlin.compiler.execution.strategy=in-process
|
21
.github/workflows/android.yml
vendored
21
.github/workflows/android.yml
vendored
@ -21,18 +21,29 @@ jobs:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 90
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Copy CI gradle.properties
|
||||||
|
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
||||||
|
|
||||||
- uses: actions/setup-java@v3
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: 17
|
java-version: 17
|
||||||
|
|
||||||
- uses: gradle/gradle-build-action@v2
|
- uses: gradle/gradle-build-action@v2
|
||||||
|
|
||||||
|
- name: Quality - Spotless
|
||||||
|
run: ./gradlew spotlessCheck
|
||||||
|
|
||||||
|
- name: Quality - Detekt
|
||||||
|
run: ./gradlew detekt
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew assembleDebug
|
run: ./gradlew assembleDebug
|
||||||
- name: Detekt
|
|
||||||
run: ./gradlew detekt
|
- name: Test
|
||||||
- name: Spotless
|
|
||||||
run: ./gradlew spotlessCheck
|
|
||||||
- name: Tests
|
|
||||||
run: ./gradlew testsOnCi
|
run: ./gradlew testsOnCi
|
||||||
|
Loading…
Reference in New Issue
Block a user