File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 93
93
docker run swiftlang/swift:nightly-6.2-noble uname -a
94
94
docker run -v $PWD:/spark -w /spark swiftlang/swift:nightly-6.2-noble swift build
95
95
96
+ integration-test-mac-spark41 :
97
+ runs-on : macos-15
98
+ timeout-minutes : 20
99
+ steps :
100
+ - uses : actions/checkout@v4
101
+ - uses : swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
102
+ with :
103
+ swift-version : " 6.1"
104
+ - name : Test
105
+ run : |
106
+ curl -LO https://dist.apache.org/repos/dist/dev/spark/v4.1.0-preview1-rc1-bin/spark-4.1.0-preview1-bin-hadoop3.tgz
107
+ tar xvfz spark-4.1.0-preview1-bin-hadoop3.tgz
108
+ mv spark-4.1.0-preview1-bin-hadoop3 /tmp/spark
109
+ cd /tmp/spark/sbin
110
+ ./start-connect-server.sh
111
+ cd -
112
+ swift test --no-parallel
113
+
96
114
integration-test-mac :
97
115
runs-on : macos-15
98
116
timeout-minutes : 20
Original file line number Diff line number Diff line change @@ -332,8 +332,10 @@ struct DataFrameTests {
332
332
@Test
333
333
func isLocal( ) async throws {
334
334
let spark = try await SparkSession . builder. getOrCreate ( )
335
- #expect( try await spark. sql ( " SHOW DATABASES " ) . isLocal ( ) )
336
- #expect( try await spark. sql ( " SHOW TABLES " ) . isLocal ( ) )
335
+ if !( await spark. version. starts ( with: " 4.1 " ) ) { // TODO(SPARK-52746)
336
+ #expect( try await spark. sql ( " SHOW DATABASES " ) . isLocal ( ) )
337
+ #expect( try await spark. sql ( " SHOW TABLES " ) . isLocal ( ) )
338
+ }
337
339
#expect( try await spark. range ( 1 ) . isLocal ( ) == false )
338
340
await spark. stop ( )
339
341
}
You can’t perform that action at this time.
0 commit comments