-
Notifications
You must be signed in to change notification settings - Fork 0
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
질문 도메인의 API, Service 기능 구현 및 테스트 작성 #4
Conversation
- lombok 추가 - group: com.family 설정 - root project submodule 제거
Test Results8 tests 8 ✅ 1s ⏱️ Results for commit aa87ef1. ♻️ This comment has been updated with latest results. |
.github/workflows/ci.yml
Outdated
${{ runner.os }}-gradle- | ||
|
||
# gradle 실행 허가 | ||
- name: Run chmod to make gradlew executable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
리포지토리에 gradlew파일의 실행권을 주면 좋을 것 같습니다.
.github/workflows/ci.yml
Outdated
java-version: '17' | ||
distribution: 'adopt' | ||
|
||
- name: Gradle Caching |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gradle action을 쓰면, 이 부분은 해결이 됩니다.
.github/workflows/ci.yml
Outdated
- name: Run chmod to make gradlew executable | ||
run: chmod +x ./gradlew | ||
|
||
- name: 빌드 진행 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 workflow에서는 빌드까지는 할 필요없을 것 같고, 테스트만 잘 되면 될 것 같습니다.
.github/workflows/ci.yml
Outdated
uses: mikepenz/action-junit-report@v3 | ||
if: success() || failure() # always run even if the previous step fails | ||
with: | ||
report_paths: '**/build/test-results/test/TEST-*.xml' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
마지막에 새 줄 추가해주세요.
module-stream/build.gradle
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
스트림 모듈을 어떻게 사용할 것인지 궁금합니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 파일은 크게 필요는 없을 것 같으니, 빼는게 좋을 것 같아요.
|
||
@Service | ||
@RequiredArgsConstructor | ||
public class QuestionFacade { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Facade를 따로 만드는 이유가 있을까요?
- gradle actions 적용 - 불필요한 build step 제거 - 테스트 실패시에만 결과 코멘트 작성
group = 'com.family' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
다른 PR에서 마지막에 새 줄 하나 추가해주세요.
Todos
close #3