Skip to content

Commit 8300d80

Browse files
committed
Remove explicit Swift 6 test
1 parent 858640f commit 8300d80

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

.github/workflows/build_and_test.yaml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,13 @@ jobs:
1414
uses: maxim-lobanov/setup-xcode@v1
1515
with:
1616
xcode-version: latest-stable
17-
- name: Build and Test
17+
18+
- name: Test on iOS simulator
1819
run: |
1920
xcodebuild test -scheme PowerSync-Package -destination "platform=iOS Simulator,name=iPhone 16"
20-
xcodebuild test -scheme PowerSync-Package -destination "platform=macOS,arch=arm64,name=My Mac"
21-
xcodebuild test -scheme PowerSync-Package -destination "platform=watchOS Simulator,arch=arm64,name=Apple Watch Ultra 2 (49mm)"
22-
23-
buildSwift6:
24-
name: Build and test with Swift 6
25-
runs-on: macos-latest
26-
steps:
27-
- uses: actions/checkout@v4
28-
- name: Set up XCode
29-
uses: maxim-lobanov/setup-xcode@v1
30-
with:
31-
xcode-version: latest-stable
32-
- name: Use Swift 6
21+
- name: Test on macOS
3322
run: |
34-
sed -i '' 's|^// swift-tools-version:.*$|// swift-tools-version:6.1|' Package.swift
35-
- name: Build and Test
23+
xcodebuild test -scheme PowerSync-Package -destination "platform=macOS,arch=arm64,name=My Mac"
24+
- name: Test on watchOS simulator
3625
run: |
37-
swift build -Xswiftc -strict-concurrency=complete
38-
swift test -Xswiftc -strict-concurrency=complete
26+
xcodebuild test -scheme PowerSync-Package -destination "platform=watchOS Simulator,arch=arm64,name=Apple Watch Ultra 2 (49mm)"

0 commit comments

Comments
 (0)