Run in parallel by default (#2773)

* Run in parallel by default

* Remove --parallel and --build-cache flags from ci as they are now handled by gradle.properties
This commit is contained in:
Artur Bosch
2020-06-05 20:26:35 +02:00
committed by GitHub
parent f882eae019
commit 84fb690ffe
2 changed files with 4 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ jobs:
- name: Build detekt (UNIX)
run: ./gradlew build shadowJar --build-cache --parallel -PwarningsAsErrors=true -Pcompile-test-snippets=$COMPILE_TEST_SNIPPETS
run: ./gradlew build shadowJar -PwarningsAsErrors=true -Pcompile-test-snippets=$COMPILE_TEST_SNIPPETS
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
- name: Run detekt-cli --help (UNIX)
run: java -jar ./detekt-cli/build/libs/detekt-cli-*-all.jar --help
@@ -64,7 +64,7 @@ jobs:
- name: Build detekt (WIN)
run: ./gradlew build installShadowDist --build-cache --parallel -PwarningsAsErrors=true -Pcompile-test-snippets=%COMPILE_TEST_SNIPPETS%
run: ./gradlew build installShadowDist -PwarningsAsErrors=true -Pcompile-test-snippets=%COMPILE_TEST_SNIPPETS%
if: matrix.os == 'windows-latest'
- name: Run detekt-cli --help (WIN)
run: detekt-cli\build\install\detekt-cli-shadow\bin\detekt-cli --help

View File

@@ -1,3 +1,5 @@
kotlin.code.style=official
systemProp.sonar.host.url=http://localhost:9000
systemProp.file.encoding=UTF-8
org.gradle.parallel=true
org.gradle.caching=true