File tree Expand file tree Collapse file tree 3 files changed +14
-27
lines changed
Expand file tree Collapse file tree 3 files changed +14
-27
lines changed Original file line number Diff line number Diff line change 11name : RunTest
22
33on :
4- push :
4+ push :
55 branches : [ "develop" ]
6- pull_request :
6+ pull_request :
77 branches : [ "develop" ]
88
99jobs :
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
You can’t perform that action at this time.
0 commit comments