Skip to content

Commit

Permalink
test: test in code
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Jan 2, 2024
1 parent e1ab743 commit 75b0c75
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jacoco {
dependencies {
implementation("cc.unitmesh:unit-core:0.3.2")
implementation(libs.clikt)
implementation(libs.kotlin.stdlib)
implementation(libs.serialization.json)

// Logging
Expand All @@ -38,8 +39,8 @@ tasks.test {


repositories {
mavenCentral()
mavenLocal()
mavenCentral()
google()
}

Expand Down
5 changes: 5 additions & 0 deletions config/unit-eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ jobs:
value:
- temperature: 0.3
max_tokens: 1000

validate:
- type: code-completion
selection: "$.beforeCursor"
language: "java"
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref
shadow = "com.github.johnrengelman.shadow:8.1.1"

[libraries]
kotlin-stdlib = { group = "org.jetbrains.kotlin", name = "kotlin-stdlib", version.ref = "kotlin" }
kotlin-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
kotlin-plugin-dev = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
Expand Down

0 comments on commit 75b0c75

Please sign in to comment.