Skip to content

Commit

Permalink
added jte test to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tschuehly committed Sep 2, 2023
1 parent e055a95 commit 60d5bff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
cd ./examples/thymeleaf-java-example
chmod +x ./mvnw
./mvnw test
- name: run jte kotlin tests
run: |
cd ./examples/jte-example
chmod +x ./gradlew
./gradlew test
publish:
needs: test
runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions examples/jte-example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ java.sourceCompatibility = JavaVersion.VERSION_17

repositories {
mavenCentral()
maven("https://jitpack.io")
}

dependencies {
// implementation("de.tschuehly:spring-view-component-jte:0.6.0")
implementation("de.tschuehly:spring-view-component-jte:0.6.2-SNAPSHOT")
kapt("de.tschuehly:spring-view-component-core:0.6.2-SNAPSHOT")

Expand All @@ -46,6 +44,9 @@ tasks.withType<KotlinCompile> {

tasks.withType<Test> {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
sourceSets{
main{
Expand Down
3 changes: 1 addition & 2 deletions jte/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ repositories {
dependencies {
api("de.tschuehly:spring-view-component-core:0.6.2-SNAPSHOT")
implementation("io.github.classgraph:classgraph:4.8.162")
// implementation("gg.jte:jte-spring-boot-starter-3:3.0.4-SNAPSHOT")
implementation(files("./jte-spring-boot-starter-3-3.0.2-SNAPSHOT.jar"))
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-aop")

implementation("gg.jte:jte:3.0.0")
implementation("gg.jte:jte:3.0.2")
implementation("org.jetbrains.kotlin:kotlin-reflect")
testImplementation("org.springframework.boot:spring-boot-starter-actuator")
testImplementation("org.springframework.boot:spring-boot-starter-test")
Expand Down

0 comments on commit 60d5bff

Please sign in to comment.