File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 54
54
swift-version : " 6"
55
55
- name : Build
56
56
run : swift build -v
57
+
58
+ integration-test :
59
+ runs-on : ubuntu-latest
60
+ services :
61
+ spark :
62
+ image : apache/spark:4.0.0-preview2
63
+ env :
64
+ SPARK_NO_DAEMONIZE : 1
65
+ ports :
66
+ - 15002:15002
67
+ options : --entrypoint /opt/spark/sbin/start-connect-server.sh
68
+ steps :
69
+ - uses : actions/checkout@v4
70
+ -
uses :
swift-actions/[email protected]
71
+ with :
72
+ swift-version : " 6"
73
+ - name : Test
74
+ run : swift test --no-parallel
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ struct DataFrameTests {
81
81
await spark. stop ( )
82
82
}
83
83
84
+ #if !os(Linux)
84
85
@Test
85
86
func show( ) async throws {
86
87
let spark = try await SparkSession . builder. getOrCreate ( )
@@ -106,4 +107,5 @@ struct DataFrameTests {
106
107
try await spark. sql ( " DROP TABLE IF EXISTS t " ) . show ( )
107
108
await spark. stop ( )
108
109
}
110
+ #endif
109
111
}
You can’t perform that action at this time.
0 commit comments