File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : 🧪 Java CI- Maven
1+ name : 🔬 Maven Unit Test
22
33on :
44 push :
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 }}
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-
Original file line number Diff line number Diff line change @@ -7,9 +7,7 @@ spring.datasource.hikari.minimum-idle=10
77spring.datasource.hikari.maximum-pool-size =50
88
99spring.jpa.show-sql : true
10+ # spring.jpa.hibernate.ddl-auto: update
1011spring.jpa.hibernate.ddl-auto : create-drop
11- spring.jpa.properties.hibernate.format_sql =true
1212spring.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
You can’t perform that action at this time.
0 commit comments