diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb393e0..b1ee8f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,3 +59,13 @@ jobs: uses: codecov/codecov-action@v4 with: file: info.lcov + + windows: + runs-on: windows-latest + steps: + - uses: compnerd/gha-setup-swift@main + with: + branch: swift-5.10-release + tag: 5.10-RELEASE + - uses: actions/checkout@v4 + - run: swift test \ No newline at end of file diff --git a/Tests/JMESPathTests/ComplianceTests.swift b/Tests/JMESPathTests/ComplianceTests.swift index 1542891..aaa9fd5 100644 --- a/Tests/JMESPathTests/ComplianceTests.swift +++ b/Tests/JMESPathTests/ComplianceTests.swift @@ -6,11 +6,10 @@ // import Foundation +import JMESPath import XCTest -@testable import JMESPath - -#if os(Linux) +#if os(Linux) || os(Windows) import FoundationNetworking #endif