Skip to content

Commit a2d1b90

Browse files
committed
[FIX] Git Action 수정
1 parent d86329b commit a2d1b90

File tree

3 files changed

+14
-27
lines changed

3 files changed

+14
-27
lines changed

.DS_Store

0 Bytes
Binary file not shown.

.github/.DS_Store

0 Bytes
Binary file not shown.
Lines changed: 14 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,23 @@
11
name: RunTest
22

33
on:
4-
push:
4+
push:
55
branches: [ "develop" ]
6-
pull_request:
6+
pull_request:
77
branches: [ "develop" ]
88

99
jobs:
10-
build:
10+
run-unitTest:
11+
1112
runs-on: macos-latest
12-
13+
1314
steps:
14-
# Checkout the repository
15-
- name: Checkout Repository
16-
uses: actions/checkout@v3
17-
18-
# Install Tuist
19-
- name: Install Tuist
20-
run: |
21-
curl -Ls https://install.tuist.io | bash
22-
export PATH="$HOME/.tuist/bin:$PATH"
23-
24-
# Generate Xcode project with Tuist
25-
- name: Generate Xcode Project
26-
run: |
27-
tuist fetch
28-
tuist generate --no-open
29-
30-
# Build and Test with Xcode
31-
- name: Build and Test
32-
run: |
33-
xcodebuild clean test \
34-
-project CobyHappiness.xcodeproj \
35-
-scheme CobyHappiness \
36-
-destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=17.0'
15+
- uses: actions/checkout@v4
16+
- name: Install Mise
17+
run: |
18+
curl https://mise.run | sh
19+
mise install
20+
- name: Install Tuist dependencies
21+
run: mise x -- tuist install
22+
- name: Run tests
23+
run: mise x -- tuist test Weave2-UnitTest --no-selective-testing

0 commit comments

Comments
 (0)