File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 28
28
uses : actions/checkout@v3
29
29
- name : Run Tests
30
30
run : swift test
31
+ linux :
32
+ name : Linux (Swift ${{ matrix.swift }})
33
+ strategy :
34
+ fail-fast : false
35
+ matrix :
36
+ swift : ["5.5", "5.6"]
37
+ runs-on : ubuntu-latest
38
+ container : swift:${{ matrix.swift }}
39
+ steps :
40
+ - name : Checkout Repo
41
+ uses : actions/checkout@v3
42
+ - name : Run Tests
43
+ run : swift test
Original file line number Diff line number Diff line change 1
1
import Foundation
2
+ #if canImport(FoundationNetworking)
3
+ import FoundationNetworking
4
+ #endif
2
5
3
6
public struct HTTPHeader < T> {
4
7
public let field : String
Original file line number Diff line number Diff line change 1
- import XCTest
1
+ #if canImport(FoundationNetworking)
2
+ import FoundationNetworking
3
+ #endif
2
4
@testable import HTTPHeaders
5
+ import XCTest
3
6
4
7
final class HTTPHeadersTests : XCTestCase {
5
8
func testParseString( ) throws {
You can’t perform that action at this time.
0 commit comments