File tree Expand file tree Collapse file tree 1 file changed +13
-18
lines changed
Expand file tree Collapse file tree 1 file changed +13
-18
lines changed Original file line number Diff line number Diff line change 11name : Tests
2- on : [push, pull_request]
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ branches :
8+ - main
39
410jobs :
511 test :
612 runs-on : macos-26
713 steps :
814 - uses : actions/checkout@v4
915
10- - name : Set up Xcode 26
11- run : sudo xcode-select -s /Applications/Xcode.app
16+ - name : Check Swift version
17+ run : swift --version
1218
13- - name : Run Unit Tests
14- run : swift test
15-
16- - name : Generate Test xcresult
17- run : |
18- cd TestFixtures/SampleProject
19- xcodebuild test \
20- -scheme SampleProject \
21- -destination 'platform=iOS Simulator,name=iPhone 16 Pro' \
22- -resultBundlePath ../../tmp/integration-test.xcresult \
23- || true # Allow test failures
19+ - name : Build
20+ run : swift build
2421
25- - name : Run Integration Tests
26- run : swift test --filter IntegrationTests
27- env :
28- XCRESULT_PATH : tmp/integration-test.xcresult
22+ - name : Run Tests
23+ run : swift test
You can’t perform that action at this time.
0 commit comments