Skip to content

[Fix] #300 - 선택적 테스트 영향 모듈 0개일 때 CI 게이트 실패 수정 - #301

Merged
Guryss merged 1 commit into
developfrom
Fix/#300
Oct 20, 2026
Merged

Guryss merged 1 commit into
developfrom
Fix/#300

Conversation

@Guryss

@Guryss Guryss commented Oct 20, 2026

Copy link
Copy Markdown
Member

💡 Issue


💭 Summary

선택적 테스트에서 영향받는 모듈이 0개일 때 All Tests Passed 게이트가 실패하던 문제를 고쳐요.


🔑 Key Changes

원인

  • 테스트 타깃이 없는 모듈(예: App)만 바뀌면 discover가 modules_json=[]을 내보내요.
  • test job이 빈 배열을 그대로 matrix에 넣는데, GitHub Actions는 빈 matrix를 skip하지 않고 failure로 처리해요.
  • 게이트는 이 경우를 skipped로 가정하고 있어서 test: failure → 실패했어요.
  • 재현: [Setting] #298 - v1.10.3 버전 반영 #299 (Projects/App/Project.swift 1줄 변경)

수정

  • test job에 if: needs.discover.outputs.modules_json != '[]'를 추가했어요.
  • 이제 빈 matrix면 skipped가 되고, 게이트의 기존 분기("영향받는 테스트 모듈 없음 — 통과")를 그대로 타요.
  • Report Coverage는 always()라 영향 없어요.

📱 Simulation

해당 없음


🧑‍🧒‍🧒 To Reviewer

  • 워크플로우 파일 변경이라 이 PR에서는 전체 모듈 테스트가 돌아요.
  • 실제 "0개 모듈" 경로 검증은 머지 후 #299를 rebase해서 확인할게요.

※ Reference

🤖 Generated with Claude Code

@Guryss Guryss self-assigned this Oct 20, 2026
@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

테스트 커버리지 리포트

Module Coverage
AuthData 55.4%
AuthDomain 98.2%
BaseDomain 70.3%
CollectionDomain 98.4%
CollectionFeature 0.0%
CommentData 0.0%
CommentDomain 94.9%
FeedData 62.8%
FeedDomain 98.7%
HomeFeature 0.0%
Keychain 0.0%
LibraryFeature 0.0%
Networking 78.0%
NotificationData 33.9%
NotificationDomain 100.0%
NotificationFeature 0.0%
NovelData 15.4%
NovelDetailFeature 0.0%
NovelDomain 92.9%
NovelReviewData 77.4%
NovelReviewDomain 96.8%
NovelReviewFeature 5.3%
ProfileData 46.1%
ProfileDomain 97.1%
RecommendationData 54.7%
RecommendationDomain 91.7%
SearchData 5.1%
SearchDomain 100.0%
SettingData 31.1%
SettingDomain 99.0%
SocialData 53.4%
SocialDomain 87.5%
SplashData 77.1%
SplashDomain 95.5%
SplashFeature 32.9%

Generated by CI on 2026-10-20 20:24 KST

@Guryss
Guryss merged commit eebce3f into develop Oct 20, 2026
40 checks passed
@Guryss
Guryss deleted the Fix/#300 branch October 20, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fix] 선택적 테스트에서 영향 모듈이 0개일 때 CI 게이트가 실패하는 문제 수정

1 participant