Skip to content

Commit

Permalink
Run tests parallelly on CI
Browse files Browse the repository at this point in the history
Revert some changes in 2ba00cd to save more time on CI.
  • Loading branch information
Goooler committed Jan 23, 2023
1 parent de4832d commit a11ffa4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 42 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/gradle-pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
jdk: [ 8, 11, 17, 19 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 19
java-version: ${{ matrix.jdk }}
- uses: gradle/gradle-build-action@v2
- name: Build with release Kotlin version
run: ./gradlew clean build ktlint --no-daemon
Expand Down
39 changes: 0 additions & 39 deletions build-logic/src/main/kotlin/ToolchainForTests.kt

This file was deleted.

2 changes: 0 additions & 2 deletions build-logic/src/main/kotlin/ktlint-kotlin-common.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ kotlin {
// All modules, the CLI included, must have an explicit API
explicitApi()
}

addAdditionalJdkVersionTests()

0 comments on commit a11ffa4

Please sign in to comment.