Skip to content

Commit

Permalink
Merge pull request #47 from uswLectureEvaluation/fix/test
Browse files Browse the repository at this point in the history
fix: 테스트를 위한 gradle 설정 변경
  • Loading branch information
wonslee authored Dec 22, 2023
2 parents ad039c1 + 4c69ab9 commit 110cb46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
shell: bash

- name: 프로젝트 빌드
run: ./gradlew clean build
run: ./gradlew bootJar
shell: bash

- name: API EC2 인스턴스 접속 및 실행 중인 애플리케이션 종료
Expand Down
6 changes: 2 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ dependencies {

// DB
implementation 'mysql:mysql-connector-java:8.0.32'
implementation 'com.h2database:h2'

// JPA
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
Expand All @@ -55,7 +56,7 @@ dependencies {
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
}

tasks.named('test') {
test {
useJUnitPlatform()
}

Expand All @@ -64,6 +65,3 @@ tasks.withType(JavaCompile) {
options.release = 17 // Java 17을 사용할 경우 release 17로 설정
}

test {
exclude '**/*'
}

0 comments on commit 110cb46

Please sign in to comment.