Skip to content

Commit 3144dbf

Browse files
committed
fix: CI Unit Test
1 parent b6e1d06 commit 3144dbf

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/UnitTest.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 🧪 Java CI-Maven
1+
name: 🔬 Maven Unit Test
22

33
on:
44
push:
@@ -20,7 +20,7 @@ jobs:
2020
MYSQL_DB_HOST: localhost:3306
2121
steps:
2222
- uses: actions/checkout@v4
23-
- name: Set up JDK 17
23+
- name: Set up JDK ${{ matrix.java }}
2424
uses: actions/setup-java@v4
2525
with:
2626
java-version: ${{ matrix.java }}
@@ -32,5 +32,3 @@ jobs:
3232
mysql -e "CREATE DATABASE IF NOT EXISTS $MYSQL_DB_NAME;" -u$MYSQL_DB_USERNAME -p$MYSQL_DB_PASSWORD
3333
- name: Build with Maven
3434
run: mvn clean test
35-
36-

src/main/resources/application.properties

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ spring.datasource.hikari.minimum-idle=10
77
spring.datasource.hikari.maximum-pool-size=50
88

99
spring.jpa.show-sql: true
10+
# spring.jpa.hibernate.ddl-auto: update
1011
spring.jpa.hibernate.ddl-auto: create-drop
11-
spring.jpa.properties.hibernate.format_sql=true
1212
spring.jpa.properties.hibernate.show_sql=true
13-
# spring.jpa.hibernate.ddl-auto: update
14-
# spring.jpa.databasePlatform=org.hibernate.dialect.MySQLDialect
15-
# spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
13+
spring.jpa.properties.hibernate.format_sql=true

0 commit comments

Comments
 (0)