-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add BuildCI #2
Merged
Merged
Add BuildCI #2
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added BuildCI
4e19c26
to
8ee46f9
Compare
Deleted unused test code
Added home widget test
9d28a90
to
6f2d11c
Compare
Fixed home page widget and test
Moved FitQA package to fitqa_flutter Build web
Fixed build ci for moving packaging
6f7990a
to
3c1a6d3
Compare
3c1a6d3
to
b626143
Compare
|
1번은 그렇네, 확인을 해봐야겠다 이미 있었구나 2번은 3개가 넘어갔을 때 배경색이 같고 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Build CI를 추가합니다
현재 Build가 작동하는 상황 :
타겟 OS :
공유할 점
Home
위젯의BottomNavigationBar
를 테스트 하는 코드를 넣었는데 몇몇 에러가 있었어pumpWidget
으로 위젯을 그리는데, 위젯 트리에서MediaQuery
위젯이 없으면 문제가 발생해MediaQuery
를 포함해서 위젯을 만드는 것이testable
한 면에서 필요할 것 같다 생각되었고,이는
WidgetsApp
,CupertinoApp
,MaterialApp
으로 감싸면 되서 일단MaterialApp
으로 처리했어 herecommit
BottomNavigationBarItem
을 찾는 것으로 처음에 작성했었는데,BottomNavigationBarItem
은 위젯이 아닌 (not extendsStatelessWidget
orStaetfullWidget
) 일반 클래스라 찾지를 못 했던 문제가 있었어그래서
Icon
을 찾는 것으로 변경 commit2-1. HardCoding된 tab 개수를 수정했다가 발견한 사항인데, finder를 통해서 Widget을 저장해놓으면 그 상태에서 변하지 않는 것 처럼 보여. Widget에 인터랙션을 줄 때마다 받아와서 사용해야 할 거 같아
commit
위 문제를 보다가
BottomNavigationBar
에서 tab 개수가 3개를 넘어가면type
에Fixed
를 부여해야 하는 것을 알게 되었어. (배경색이 다르다면 괜찮음)Reference : here
build_error 해결
Error Log : https://github.com/CoCoVo/FitQA/runs/5335406444?check_suite_focus=true
Web build를 enable할 때에는 here 이 내용으로 web build가 가능했어, 다만 현재 패키지 이름이 FitQA로 되어있어서 불가능해서
FitQA
패키지를fitqa_flutter
로 이동을 시켰으 (windows-desktop이 enable 되어있어서 현재는 disable시켜놓음) commitFix build error in android
kotlin version을 올려줌 commit
Fix build error in iOS
많이 헤맸는데, iOS build를 안하다 보니 Pubfile이 없었고. 이 Pubfile에서 target iOS의 버전을 명시하는데, 이 부분이 없다보니 자동으로 iOS 9버전으로 지정이 되었어
여기를 보면 firebase 모듈들의 최소 버전이 나와있는데, auth의 경우 10이 minimum 이었어
Pubfile이 동적으로 생성되나 라고 착각을 해서 build script 에서 iOS 버전을 명시해주려고 오래 시간을 썼는데, 알고 보니 Web 빌드 하듯이 iOS 빌드하면 나오는 Pubfile이어서 기본 Pubfile을 찾아서 넣어주었어 commit
결국 Apple 아이디와 ceritificate가 없으면 iOS build가 안되는 것을 알고 일단은 disable 을 시켰어