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

[iOS] 테스트 CI 설정 #90

Closed
wants to merge 58 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
67be9c9
feat : 테스트 CI 파일 추가
jinhoon227 Jan 21, 2024
3d8ee93
feat : github action test simulator 버전이 최대 16.2 라 16.0 으로 ios deploym…
jinhoon227 Jan 21, 2024
c6a166e
Merge branch 'develop' of https://github.com/Korea-Certified-Store/iO…
jinhoon227 Jan 21, 2024
adb39ef
feat : 설정값을 github action 에 복사
jinhoon227 Jan 21, 2024
9141955
feat : 테스트커밋(#89)
jinhoon227 Jan 21, 2024
ee61032
feat : 테스트커밋(#89)
jinhoon227 Jan 21, 2024
aaef6d7
feat : gem install cocoapods 추가 (#89)
jinhoon227 Jan 21, 2024
345696b
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
725327f
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
90ad8be
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
fcd7f86
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
29a2013
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
a8c507c
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
6a5f7b8
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
45485e2
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
88fb042
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
1c091e3
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
3731fa0
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
4450340
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
4008d7f
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
8caa78d
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
de2eef7
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
d4440b5
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
0336ff8
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
fa3655c
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
8911949
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
4a64ed6
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
fc36c46
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
1d08852
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
7cb70e4
fix : 파일명 한글 영어로 수정 (#89)
SungMinCho-Kor Jan 21, 2024
9af20a6
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
2cc8f50
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
3859ca8
feat : 테스트 커밋 (#89)
jinhoon227 Jan 21, 2024
c6256bb
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
ec2eb14
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
ac0ac60
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
f3b76f9
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
115702a
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
1ccacc5
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
ef79775
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
966ef93
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
41602eb
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
5cb88fd
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
b4104ab
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
49d21cc
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
036f3ce
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
3010a78
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
1e5cd22
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
31ee988
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
fbc6ecb
build : version 17.2 (#89)
SungMinCho-Kor Jan 22, 2024
9d511e6
Merge branch 'feature/set-test-ci(#89)' of github.com:Korea-Certified…
SungMinCho-Kor Jan 22, 2024
0d1cc65
build : version 17.2 (#89)
SungMinCho-Kor Jan 22, 2024
4a86afd
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
37c101d
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
9d7621e
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
2a4b3e2
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
9da172d
feat : 테스트 커밋 (#89)
jinhoon227 Jan 22, 2024
3222d65
feat : ah
jinhoon227 Jan 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/action-test-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: test-ci

# 트리거 조건 (push 하거나 PR 하면 하단의 jobs를 실행하겠다는 뜻)
on:
push:
branches:
- main
- develop

pull_request:
branches:
- main
- develop


# 트리거 발생 시 실행할 작업들
jobs:
test:
runs-on: macos-13 # iOS 플랫폼에서 실행

steps:
#Select your required version
- name: Select Xcode 15.1
run: sudo xcode-select -s /Applications/Xcode_15.1.app/Contents/Developer

- name: Checkout repository
uses: actions/checkout@v4

- name: Copy secrets to github action
env:
ENV: ${{ secrets.ENV }} # repository secrets 에서 가져옴
OCCUPY_SECRET_DIR: ./KCS # 레포지토리 내 파일 의 위치
OCCUPY_SECRET_DIR_FILE_NAME: Secret.xcconfig # 파일 이름

# secrets 값 복사
run: |
echo $ENV >> $OCCUPY_SECRET_DIR/$OCCUPY_SECRET_DIR_FILE_NAME

# CocoaPod 을 사용하므로 설치후 테스트 진행
- name: Install CocoaPods
run: |
pod install --repo-update --clean-install --project-directory=KCS

- name: Build
run: xcodebuild build-for-testing -workspace KCS/KCS.xcworkspace -scheme "KCS" -destination "platform=iOS Simulator,name=iPhone 14,OS=17.2"

- name: Test
run: |
xcodebuild test-without-building -workspace KCS/KCS.xcworkspace -scheme "KCS/KCSUnitTest" -destination "platform=iOS Simulator,name=iPhone 14,OS=17.2"
12 changes: 6 additions & 6 deletions KCS/KCS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
Expand Down Expand Up @@ -967,7 +967,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
Expand Down Expand Up @@ -995,7 +995,7 @@
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -1030,7 +1030,7 @@
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -1058,7 +1058,7 @@
ENABLE_APP_SANDBOX = NO;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = KoreaCertifiedStore.KCSUnitTest;
Expand All @@ -1083,7 +1083,7 @@
ENABLE_APP_SANDBOX = NO;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = KoreaCertifiedStore.KCSUnitTest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "모범음식점_핀.png",
"filename" : "Variant.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "모범음식점_핀@2x.png",
"filename" : "Variant@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "모범음식점_핀@3x.png",
"filename" : "Variant@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "Variant3@1x.png",
"filename" : "Variant@1x.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Variant3@2x.png",
"filename" : "Variant@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Variant3@3x.png",
"filename" : "Variant@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "착한가격업소_핀.png",
"filename" : "Variant.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "착한가격업소_핀@2x.png",
"filename" : "Variant@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "착한가격업소_핀@3x.png",
"filename" : "Variant@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "안심식당_핀.png",
"filename" : "Variant.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "안심식당_핀@2x.png",
"filename" : "Variant@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "안심식당_핀@3x.png",
"filename" : "Variant@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "안심식당_핀.png",
"filename" : "Variant.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "안심식당_핀@2x.png",
"filename" : "Variant@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "안심식당_핀@3x.png",
"filename" : "Variant@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down