Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFRA] CI 테스트의 fast-fail 옵션 추가 #955

Open
zeus6768 opened this issue Dec 7, 2024 · 0 comments
Open

[INFRA] CI 테스트의 fast-fail 옵션 추가 #955

zeus6768 opened this issue Dec 7, 2024 · 0 comments
Assignees
Labels
BE 백엔드 infrastructure 인프라 작업

Comments

@zeus6768
Copy link
Contributor

zeus6768 commented Dec 7, 2024

AS-IS

현재는 테스트가 실패해도 모든 테스트가 전부 실행돼요.

TO-BE

하나의 테스트만 실패해도 gradle test 작업을 중단하도록 변경해요.

이렇게하면 실패 시 CI 작업 속도를 높일 수 있어요.

다음의 gradle 설정 추가

test {
   failFast = true
}

관련 자료

Gradle Goodness: Stop Build After One Failing Test

@zeus6768 zeus6768 added BE 백엔드 infrastructure 인프라 작업 labels Dec 7, 2024
@zeus6768 zeus6768 self-assigned this Dec 7, 2024
@zeus6768 zeus6768 changed the title CI 테스트의 fast-fail 옵션 추가 [INFRA] CI 테스트의 fast-fail 옵션 추가 Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE 백엔드 infrastructure 인프라 작업
Projects
Status: Todo
Development

No branches or pull requests

1 participant