1 parent 2d653fa commit 8a68685Copy full SHA for 8a68685
1 file changed
.github/workflows/swift-tests.yml
@@ -46,5 +46,14 @@ jobs:
46
uses: actions/checkout@v4
47
- name: Build
48
run: swift build
49
- - name: Run tests
50
- run: swift test
+ - name: Select latest Xcode
+ run: |
51
+ LATEST_XCODE=$(ls /Applications | grep '^Xcode_' | sort -V | tail -n1)
52
+ echo "Using $LATEST_XCODE"
53
+ sudo xcode-select -s "/Applications/$LATEST_XCODE"
54
+ - name: Run tests with xcodebuild
55
56
+ xcodebuild test \
57
+ -scheme BlueConnect \
58
+ -sdk macosx \
59
+ -destination 'platform=macOS'
0 commit comments