Skip to content

Commit

Permalink
fix pipline
Browse files Browse the repository at this point in the history
  • Loading branch information
anasoid committed Jan 7, 2025
1 parent 7537b11 commit 910f3da
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@ jobs:
build-scan-terms-of-use-url : "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree : "yes"


- name : Build Spring pet clinic (Maven)
run : ./petclinic/mvnw package

- name : Install local Spring pet clinic (Maven)
run : ./petclinic/mvnw install:install-file -Dfile=./target/spring-petclinic-3.4.0-SNAPSHOT.jar.original -DgroupId=org.springframework.samples -DartifactId=spring-petclinic -Dversion=3.4.0-SNAPSHOT -Dpackaging=jar

- name : Build with Gradle
run : ./gradlew build

- name : Publish Test Report
uses : mikepenz/action-junit-report@v5
with :
report_paths : '**/build/test-results/test/TEST-*.xml'
github_token : ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ repositories {
mavenCentral()
mavenLocal()
}

springBoot {
mainClass = 'org.anasoid.instancio.petclinic.jpa.example.PetClinicWithDataApplication'
}
dependencies {


Expand Down

0 comments on commit 910f3da

Please sign in to comment.