Skip to content

Commit

Permalink
Merge branch 'master' into hotfix/JLLeitschuhgh-562
Browse files Browse the repository at this point in the history
* master:
  testAnnotations use version_current and upload memory dump
  • Loading branch information
JLLeitschuh committed Mar 14, 2022
2 parents 58b9a86 + 7345f7f commit 331895e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build-and-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,20 @@ jobs:
${{ runner.os }}-gradle-wrapper-
- name: Build plugin
run: ./plugin/gradlew -p ./plugin assemble ensureDependenciesAreInlined test --no-daemon
- name: Save test results
- name: Upload test results
uses: actions/upload-artifact@v2
if: failure()
with:
name: test-results
name: test-results-${{ runner.os }}
path: plugin/build/reports/tests/test/
- name: Upload Memory Dump
uses: actions/upload-artifact@v2
if: failure()
with:
name: memory-dump-${{ runner.os }}
path: |
hs_err_pid*
plugin/hs_err_pid*
- name: Check plugin codestyle
run: ./plugin/gradlew -p ./plugin ktlintCheck --no-daemon

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ import org.jlleitschuh.gradle.ktlint.KtlintBasePlugin
import org.junit.jupiter.api.extension.ExtensionContext
import org.junit.jupiter.params.provider.Arguments
import org.junit.jupiter.params.provider.ArgumentsProvider
import java.io.File
import java.util.stream.Stream
import kotlin.streams.asStream

object TestVersions {
const val minSupportedGradleVersion = KtlintBasePlugin.LOWEST_SUPPORTED_GRADLE_VERSION
const val maxSupportedGradleVersion = "7.1.1"
const val pluginVersion = "10.3.0-SNAPSHOT"
val pluginVersion = File("VERSION_CURRENT.txt").readText().trim()
const val minSupportedKotlinPluginVersion = "1.4.32"
const val maxSupportedKotlinPluginVersion = "1.5.21"
}
Expand Down

0 comments on commit 331895e

Please sign in to comment.