mirror of
https://github.com/apple/swift-nio-extras
synced 2026-11-28 05:14:24 +00:00
Migrate CI to use GitHub Actions. (#234)
### Motivation: To migrate to GitHub actions and centralised infrastructure. ### Modifications: Changes of note: * Adopt swift-format using rules from SwiftNIO * Remove scripts and docker files which are no longer needed ### Result: Feature parity with old CI.
This commit is contained in:
1 parent
11b7d82b51
commit
3f776e9aaf
125 files changed
+4697
-3338
No files matched your search
@@ -63,14 +63,20 @@ final class NIOHTTPTypesHTTP2Tests: XCTestCase {
|
||||
super.tearDown()
|
||||
}
|
||||
|
||||
static let request = HTTPRequest(method: .get, scheme: "https", authority: "www.example.com", path: "/", headerFields: [
|
||||
.accept: "*/*",
|
||||
.acceptEncoding: "gzip",
|
||||
.acceptEncoding: "br",
|
||||
.trailer: "X-Foo",
|
||||
.cookie: "a=b",
|
||||
.cookie: "c=d",
|
||||
])
|
||||
static let request = HTTPRequest(
|
||||
method: .get,
|
||||
scheme: "https",
|
||||
authority: "www.example.com",
|
||||
path: "/",
|
||||
headerFields: [
|
||||
.accept: "*/*",
|
||||
.acceptEncoding: "gzip",
|
||||
.acceptEncoding: "br",
|
||||
.trailer: "X-Foo",
|
||||
.cookie: "a=b",
|
||||
.cookie: "c=d",
|
||||
]
|
||||
)
|
||||
|
||||
static let oldRequest: HPACKHeaders = [
|
||||
":method": "GET",
|
||||
@@ -85,10 +91,13 @@ final class NIOHTTPTypesHTTP2Tests: XCTestCase {
|
||||
"cookie": "c=d",
|
||||
]
|
||||
|
||||
static let response = HTTPResponse(status: .ok, headerFields: [
|
||||
.server: "HTTPServer/1.0",
|
||||
.trailer: "X-Foo",
|
||||
])
|
||||
static let response = HTTPResponse(
|
||||
status: .ok,
|
||||
headerFields: [
|
||||
.server: "HTTPServer/1.0",
|
||||
.trailer: "X-Foo",
|
||||
]
|
||||
)
|
||||
|
||||
static let oldResponse: HPACKHeaders = [
|
||||
":status": "200",
|
||||
|
||||
Reference in new issue
Block a user