Skip to content

Commit 3877a50

Browse files
authored
Merge pull request #8 from adam-fowler/windows-ci-2
Add windows CI v2
2 parents 3796a32 + 8c96727 commit 3877a50

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,13 @@ jobs:
5959
uses: codecov/codecov-action@v4
6060
with:
6161
file: info.lcov
62+
63+
windows:
64+
runs-on: windows-latest
65+
steps:
66+
- uses: compnerd/gha-setup-swift@main
67+
with:
68+
branch: swift-5.10-release
69+
tag: 5.10-RELEASE
70+
- uses: actions/checkout@v4
71+
- run: swift test

Tests/JMESPathTests/ComplianceTests.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
//
77

88
import Foundation
9+
import JMESPath
910
import XCTest
1011

11-
@testable import JMESPath
12-
13-
#if os(Linux)
12+
#if os(Linux) || os(Windows)
1413
import FoundationNetworking
1514
#endif
1615

0 commit comments

Comments
 (0)