Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
test(lume): add Swift Testing dependency
Francesco Bonacci8c8c518955c0
diff --git a/libs/lume/Package.resolved b/libs/lume/Package.resolvedindex eda811830b..03988e0e4b 100644--- a/libs/lume/Package.resolved+++ b/libs/lume/Package.resolved@@ -1,5 +1,5 @@{- "originHash" : "e211eb961ff71ceccb522c1477d4f18226110d69b566538f7da616eec2b3774b",+ "originHash" : "e3f9e294b188848fdad4c8e5a1ad832f117209f02ad8d9fe5e452ead5b6f017f","pins" : [{"identity" : "dynamic",@@ -78,8 +78,8 @@"kind" : "remoteSourceControl","location" : "https://github.com/apple/swift-format.git","state" : {- "branch" : "release/5.10",- "revision" : "3191b8f3109730af449c6332d0b1ca6653b857a0"+ "branch" : "release/6.0",+ "revision" : "55024a4da4b8fb0444c5b1342bcb18bcb618105e"}},{@@ -130,10 +130,10 @@{"identity" : "swift-syntax","kind" : "remoteSourceControl",- "location" : "https://github.com/apple/swift-syntax.git",+ "location" : "https://github.com/swiftlang/swift-syntax.git","state" : {- "branch" : "release/5.10",- "revision" : "cdd571f366a4298bb863a9dcfe1295bb595041d5"+ "branch" : "release/6.0",+ "revision" : "0687f71944021d616d34d922343dcef086855920"}},{@@ -145,6 +145,15 @@"version" : "1.6.4"}},+ {+ "identity" : "swift-testing",+ "kind" : "remoteSourceControl",+ "location" : "https://github.com/swiftlang/swift-testing.git",+ "state" : {+ "revision" : "399f76dcd91e4c688ca2301fa24a8cc6d9927211",+ "version" : "0.99.0"+ }+ },{"identity" : "yams","kind" : "remoteSourceControl",diff --git a/libs/lume/Package.swift b/libs/lume/Package.swiftindex 64d38f8d2c..1b443ce140 100644--- a/libs/lume/Package.swift+++ b/libs/lume/Package.swift@@ -10,13 +10,14 @@ let package = Package(],dependencies: [.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.1"),- .package(url: "https://github.com/apple/swift-format.git", branch: ("release/5.10")),+ .package(url: "https://github.com/apple/swift-format.git", branch: ("release/6.0")),.package(url: "https://github.com/apple/swift-atomics.git", .upToNextMajor(from: "1.2.0")),.package(url: "https://github.com/mhdhejazi/Dynamic", branch: "master"),.package(url: "https://github.com/jpsim/Yams.git", from: "5.0.0"),.package(url: "https://github.com/modelcontextprotocol/swift-sdk.git", from: "0.12.0"),.package(url: "https://github.com/apple/swift-nio.git", from: "2.81.0"),- .package(url: "https://github.com/apple/swift-nio-ssh.git", from: "0.12.0")+ .package(url: "https://github.com/apple/swift-nio-ssh.git", from: "0.12.0"),+ .package(url: "https://github.com/swiftlang/swift-testing.git", exact: "0.99.0")],targets: [.systemLibrary(@@ -45,7 +46,8 @@ let package = Package(.testTarget(name: "lumeTests",dependencies: [- "lume"+ "lume",+ .product(name: "Testing", package: "swift-testing")],path: "tests")]diff --git a/libs/lume/tests/VersionCheckTests.swift b/libs/lume/tests/VersionCheckTests.swiftindex 8bcb03d4c2..c89cf151c3 100644--- a/libs/lume/tests/VersionCheckTests.swift+++ b/libs/lume/tests/VersionCheckTests.swift@@ -1,22 +1,23 @@-import XCTest+import Darwin+import Testing@testable import lume-final class VersionCheckTests: XCTestCase {- func testSemanticVersionComparison() {- XCTAssertTrue(LumeVersionCheck.isNewer("0.3.11", than: "0.3.10"))- XCTAssertTrue(LumeVersionCheck.isNewer("0.4.0", than: "0.3.99"))- XCTAssertFalse(LumeVersionCheck.isNewer("0.3.10", than: "0.3.10"))- XCTAssertFalse(LumeVersionCheck.isNewer("0.3.9", than: "0.3.10"))+struct VersionCheckTests {+ @Test func semanticVersionComparison() {+ #expect(LumeVersionCheck.isNewer("0.3.11", than: "0.3.10"))+ #expect(LumeVersionCheck.isNewer("0.4.0", than: "0.3.99"))+ #expect(!LumeVersionCheck.isNewer("0.3.10", than: "0.3.10"))+ #expect(!LumeVersionCheck.isNewer("0.3.9", than: "0.3.10"))}- func testInstallScriptURLOverride() {+ @Test func installScriptURLOverride() {setenv("LUME_INSTALL_SCRIPT_URL", "file:///tmp/lume-install.sh", 1)defer { unsetenv("LUME_INSTALL_SCRIPT_URL") }- XCTAssertEqual(LumeVersionCheck.installScriptURL(), "file:///tmp/lume-install.sh")- XCTAssertEqual(- LumeVersionCheck.manualInstallCommand(version: "0.3.10"),- "curl -fsSL file:///tmp/lume-install.sh | LUME_VERSION=0.3.10 bash"+ #expect(LumeVersionCheck.installScriptURL() == "file:///tmp/lume-install.sh")+ #expect(+ LumeVersionCheck.manualInstallCommand(version: "0.3.10")+ == "curl -fsSL file:///tmp/lume-install.sh | LUME_VERSION=0.3.10 bash")}}