From 9f8a7f69c29493a8172fb39f429595883494df5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Bernhardt?= Date: Wed, 12 Aug 2026 10:48:40 +0200 Subject: [PATCH] CI: require swift-testing-extensions 0.3.1 for WASM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Groundwork for running `swift test` on the WASM jobs rather than only `swift build`. Not green yet — see the PR description. 0.3.0 imports `SWCompression` from the `#if canImport(Darwin)` / `#else` branch, so it fires on every non-Darwin platform including WASI, and `SWCompression` has no WebAssembly support. 0.3.1 narrows it to `#if os(Linux)`, which is correct — on wasm32-unknown-wasip1, `os(WASI)` is true and `os(Linux)` is false. Requiring 0.3.1 makes the resolution explicit rather than leaving it to whatever a consumer's Package.resolved happens to hold. --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index ddf5b561..925dd30a 100644 --- a/Package.swift +++ b/Package.swift @@ -20,7 +20,7 @@ let package = Package( dependencies: [ // used only for Dev tests, not part of regular unit tests .package(url: "https://github.com/apple/swift-numerics", from: "1.1.1"), - .package(url: "https://github.com/orchetect/swift-testing-extensions", from: "0.3.0") + .package(url: "https://github.com/orchetect/swift-testing-extensions", from: "0.3.1") ], targets: [ .target(