Skip to content

Commit

Permalink
feature: 근거리 통신 모듈 테스트 워크플로 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
taipaise committed Jan 2, 2025
1 parent 6962f0d commit e7a6460
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/nearbyNetwork_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: NearbyNetwork Test

on:
pull_request:
paths:
- 'NearbyNetwork/**'

jobs:
NearbyNetwork_Test:
runs-on: macos-14

steps:
# 저장소의 코드를 가져옴
- name: Checkout project
uses: actions/checkout@v4

# 근거리 통신 모듈 테스트 코드 실행
- name: Run NearbyNetwork module tests
run: |
set -o pipefail && \
xcodebuild \
-workspace AirplaIN.xcworkspace \
-scheme NearbyNetworkTests \
-destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.5' \
clean test | xcpretty --test --color
8 changes: 8 additions & 0 deletions NearbyNetwork/NearbyNetwork.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
00549AD62CEDDDB700DF8F6C /* MCSessionState+.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00549AD52CEDDDB100DF8F6C /* MCSessionState+.swift */; };
00549AD82CEDDDCF00DF8F6C /* MCSession+.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00549AD72CEDDDCF00DF8F6C /* MCSession+.swift */; };
0080E86A2CE19EC40095B958 /* NearbyNetworkService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0080E8672CE19EC40095B958 /* NearbyNetworkService.swift */; };
00C294602D266BCB00CA37CD /* NearbyNetworkKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = A83D2AB32D23C09F007EC41F /* NearbyNetworkKey.swift */; };
00C294612D266BD200CA37CD /* NearbyNetworkListener.swift in Sources */ = {isa = PBXBuildFile; fileRef = A83D2AAF2D23BAFC007EC41F /* NearbyNetworkListener.swift */; };
00C294632D266BD200CA37CD /* RefactoredNearbyNetworkService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 002DEC942D22A99F00ED7EE3 /* RefactoredNearbyNetworkService.swift */; };
00C294642D266BD200CA37CD /* NearbyNetworkBrowser.swift in Sources */ = {isa = PBXBuildFile; fileRef = A83D2AB12D23BE88007EC41F /* NearbyNetworkBrowser.swift */; };
5B7C6EBF2CDB6C6E0024704A /* DataSource.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B7C6EBE2CDB6C6E0024704A /* DataSource.framework */; };
5B7C6EC02CDB6C6E0024704A /* DataSource.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 5B7C6EBE2CDB6C6E0024704A /* DataSource.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
A83D2AB02D23BAFC007EC41F /* NearbyNetworkListener.swift in Sources */ = {isa = PBXBuildFile; fileRef = A83D2AAF2D23BAFC007EC41F /* NearbyNetworkListener.swift */; };
Expand Down Expand Up @@ -286,7 +290,11 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
00C294612D266BD200CA37CD /* NearbyNetworkListener.swift in Sources */,
00C294632D266BD200CA37CD /* RefactoredNearbyNetworkService.swift in Sources */,
00C294642D266BD200CA37CD /* NearbyNetworkBrowser.swift in Sources */,
002DEC9D2D23C33C00ED7EE3 /* NearbyNetworkTests.swift in Sources */,
00C294602D266BCB00CA37CD /* NearbyNetworkKey.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down

0 comments on commit e7a6460

Please sign in to comment.