File tree Expand file tree Collapse file tree 2 files changed +16
-11
lines changed
Tests/SQLiteDBTests/Extensions Expand file tree Collapse file tree 2 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 9
9
schedule :
10
10
- cron : ' 0 6,18 * * *'
11
11
jobs :
12
- darwin-android :
12
+ linux :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ - run : swift test
17
+ android :
13
18
# emulator fails to launch on ARM macOS with: HVF error: HV_UNSUPPORTED
14
- # runs-on: macos-15
15
- # so we need to run on Intel macOS
19
+ # so we need to run on Intel macOS, which is macos-13
16
20
runs-on : macos-13
17
21
steps :
18
22
- uses : actions/checkout@v4
19
- - name : " Test Swift Package Locally"
20
- run : swift test
21
- - name : " Test Swift Package on Android"
23
+ - name : " Test Swift Package Android"
22
24
uses : skiptools/swift-android-action@v1
23
- - name : " Test Swift Package on iOS"
24
- run : xcodebuild test -sdk "iphonesimulator" -destination "platform=iOS Simulator,name=iPhone 15" -scheme "$(xcodebuild -list -json | jq -r '.workspace.schemes[-1]')"
25
- linux :
26
- runs-on : ubuntu-latest
25
+ macos-ios :
26
+ runs-on : macos-latest
27
27
steps :
28
28
- uses : actions/checkout@v4
29
- - run : swift test
29
+ - name : " Test Swift Package macOS"
30
+ run : swift test
31
+ - name : " Test Swift Package iOS"
32
+ run : xcodebuild test -sdk "iphonesimulator" -destination "platform=iOS Simulator,name=iPhone 15" -scheme "$(xcodebuild -list -json | jq -r '.workspace.schemes[-1]')"
30
33
windows :
31
34
runs-on : windows-latest
32
35
steps :
Original file line number Diff line number Diff line change @@ -91,8 +91,10 @@ class CipherTests: XCTestCase {
91
91
#endif
92
92
93
93
defer {
94
+ #if !os(Android) && !os(Linux) && !os(Windows) // file permission modification unsupported on non-Darwin platforms
94
95
// ensure file can be cleaned up afterwards
95
96
try ? FileManager . default. setAttributes ( [ FileAttributeKey . immutable: 0 ] , ofItemAtPath: encryptedFile)
97
+ #endif
96
98
}
97
99
98
100
let conn = try Connection ( encryptedFile)
You can’t perform that action at this time.
0 commit comments