Skip to content

Commit

Permalink
Merge pull request #83 from boostcampwm-2024/fix/domainTestWorkflow
Browse files Browse the repository at this point in the history
[Fix] 도메인 테스트 워크플로 수정
  • Loading branch information
taipaise authored Nov 16, 2024
2 parents 748d5a1 + 6807020 commit 8ff0218
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/domain_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
Domain_Test:
runs-on: macos-latest
runs-on: macos-14

steps:
# 저장소의 코드를 가져옴
Expand All @@ -17,8 +17,10 @@ jobs:
# 도메인 테스트 코드 실행
- name: Run Domain module tests
run: |
xcrun simctl list devices
xcodebuild \
-workspace AirplaIN.xcworkspace \
-scheme Domain \
-sdk iphonesimulator \
clean test | xcpretty
-scheme DomainTests \
-destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.5' \
clean test | xcpretty --test --color
14 changes: 12 additions & 2 deletions Domain/Domain.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -391,12 +391,17 @@
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = B3PWYBKFUK;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = kr.codesquad.boostcamp9.DomainTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TARGETED_DEVICE_FAMILY = 1;
};
name = Debug;
};
Expand All @@ -407,12 +412,17 @@
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = B3PWYBKFUK;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = kr.codesquad.boostcamp9.DomainTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TARGETED_DEVICE_FAMILY = 1;
};
name = Release;
};
Expand Down
11 changes: 10 additions & 1 deletion Domain/Domain.xcodeproj/xcshareddata/xcschemes/Domain.xcscheme
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1540"
version = "1.7">
version = "2.2">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "NO"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<AutocreatedTestPlanReference>
</AutocreatedTestPlanReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
Expand Down

0 comments on commit 8ff0218

Please sign in to comment.