diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..3922952 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,2 @@ +ignore: + - Tests diff --git a/.github/workflows/compatibility_tests.yml b/.github/workflows/compatibility_tests.yml index febc298..eb617ad 100644 --- a/.github/workflows/compatibility_tests.yml +++ b/.github/workflows/compatibility_tests.yml @@ -24,11 +24,18 @@ jobs: xcode-version: ${{ matrix.xcode-version }} - name: Swift version run: swift --version - - name: Run tests against Apple's AttributeGraph + - name: Run tests against Apple's AttributeGraph on macOS run: | swift test \ - -c debug \ - -Xswiftc -warnings-as-errors \ --build-path .build-compatibility-test-debug env: - OPENGRAPH_COMPATIBILITY_TEST: 1 \ No newline at end of file + OPENGRAPH_COMPATIBILITY_TEST: 1 + # FIXME: macOS 13 CI issue. Can't reproduce on macOS 14 locally + # - name: Run tests against Apple's AttributeGraph on macOS + # run: | + # xcodebuild test \ + # -scheme OpenGraph-Package \ + # -sdk macosx \ + # -destination "platform=macOS" + # env: + # OPENGRAPH_COMPATIBILITY_TEST: 1 \ No newline at end of file diff --git a/Package.swift b/Package.swift index c3b7967..b31e4f6 100644 --- a/Package.swift +++ b/Package.swift @@ -18,7 +18,8 @@ let openGraphTestTarget = Target.testTarget( ] ) let openGraphCompatibilityTestTarget = Target.testTarget( - name: "OpenGraphCompatibilityTests" + name: "OpenGraphCompatibilityTests", + exclude: ["README.md"] ) let package = Package( @@ -66,14 +67,19 @@ package.targets.append(attributeGraphTarget) let compatibilityTest = ProcessInfo.processInfo.environment["OPENGRAPH_COMPATIBILITY_TEST"] != nil if compatibilityTest { openGraphCompatibilityTestTarget.dependencies.append("AttributeGraph") + var swiftSettings: [SwiftSetting] = (openGraphCompatibilityTestTarget.swiftSettings ?? []) swiftSettings.append(.define("OPENGRAPH_COMPATIBILITY_TEST")) openGraphCompatibilityTestTarget.swiftSettings = swiftSettings + + var linkerSettings = openGraphCompatibilityTestTarget.linkerSettings ?? [] + linkerSettings.append(.unsafeFlags([systemFrameworkSearchFlag, "/System/Library/PrivateFrameworks/"], .when(platforms: [.macOS]))) + linkerSettings.append(.linkedFramework("AttributeGraph", .when(platforms: [.macOS]))) + openGraphCompatibilityTestTarget.linkerSettings = linkerSettings } else { openGraphCompatibilityTestTarget.dependencies.append("OpenGraph") } - // Remove this when swift-testing is 1.0.0 let useSwiftTesting = ProcessInfo.processInfo.environment["OPENGRAPH_USE_SWIFT_TESTING"] != nil if useSwiftTesting { diff --git a/Sources/AttributeGraph.xcframework/Info.plist b/Sources/AttributeGraph.xcframework/Info.plist index 960c4e6..277e3f4 100644 --- a/Sources/AttributeGraph.xcframework/Info.plist +++ b/Sources/AttributeGraph.xcframework/Info.plist @@ -6,12 +6,14 @@ LibraryIdentifier - macos-arm64e + macos-arm64e-arm64-x86_64 LibraryPath AttributeGraph.framework SupportedArchitectures arm64e + arm64 + x86_64 SupportedPlatform macos @@ -30,7 +32,7 @@ LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64-x86_64-simulator LibraryPath AttributeGraph.framework SupportedArchitectures diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/AttributeGraph b/Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/AttributeGraph similarity index 100% rename from Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/AttributeGraph rename to Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/AttributeGraph diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/AttributeGraph-15_5 b/Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/AttributeGraph-15_5 similarity index 100% rename from Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/AttributeGraph-15_5 rename to Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/AttributeGraph-15_5 diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGAttribute.h b/Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AGAttribute.h similarity index 100% rename from Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGAttribute.h rename to Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AGAttribute.h diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGCompareValues.h b/Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AGCompareValues.h similarity index 100% rename from Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGCompareValues.h rename to Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AGCompareValues.h diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGComparisonMode.h b/Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AGComparisonMode.h similarity index 100% rename from Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGComparisonMode.h rename to Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AGComparisonMode.h diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGUniqueID.h b/Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AGUniqueID.h similarity index 100% rename from Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AGUniqueID.h rename to Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AGUniqueID.h diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-Swift.h b/Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-Swift.h similarity index 100% rename from Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-Swift.h rename to Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-Swift.h diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h b/Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h similarity index 100% rename from Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h rename to Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Info.plist b/Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Info.plist similarity index 100% rename from Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Info.plist rename to Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Info.plist diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-simulator.swiftinterface similarity index 100% rename from Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-simulator.swiftinterface rename to Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-ios-simulator.swiftinterface diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-simulator.swiftinterface similarity index 100% rename from Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-simulator.swiftinterface rename to Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-ios-simulator.swiftinterface diff --git a/Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/module.modulemap b/Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/module.modulemap similarity index 100% rename from Sources/AttributeGraph.xcframework/ios-arm64_x86_64-simulator/AttributeGraph.framework/Modules/module.modulemap rename to Sources/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Modules/module.modulemap diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGAttribute.h b/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AGAttribute.h similarity index 100% rename from Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGAttribute.h rename to Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AGAttribute.h diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGCompareValues.h b/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AGCompareValues.h similarity index 100% rename from Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGCompareValues.h rename to Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AGCompareValues.h diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGComparisonMode.h b/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AGComparisonMode.h similarity index 100% rename from Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGComparisonMode.h rename to Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AGComparisonMode.h diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGUniqueID.h b/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AGUniqueID.h similarity index 100% rename from Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AGUniqueID.h rename to Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AGUniqueID.h diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AttributeGraph-Swift.h b/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AttributeGraph-Swift.h similarity index 100% rename from Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AttributeGraph-Swift.h rename to Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AttributeGraph-Swift.h diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h b/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h similarity index 100% rename from Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h rename to Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AttributeGraph-umbrella.h diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Info.plist b/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Info.plist similarity index 100% rename from Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Info.plist rename to Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Info.plist diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface b/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface new file mode 100644 index 0000000..3566494 --- /dev/null +++ b/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64-apple-macos.swiftinterface @@ -0,0 +1,66 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-macos12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AttributeGraph +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import AttributeGraph +import Foundation +import Swift +import _Concurrency +import _StringProcessing +@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute : Swift.Hashable, Swift.Equatable, Swift.CustomStringConvertible { + public var identifier: AttributeGraph.AGAttribute + public var wrappedValue: Value { + get + set + } + + @inlinable public init(identifier: AttributeGraph.AGAttribute) { + self.identifier = identifier + } + + @inlinable public init(_ attribute: AttributeGraph.Attribute) { + self = attribute + } + + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + + public subscript(keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + + public var description: Swift.String { + get + } + public static func == (lhs: AttributeGraph.Attribute, rhs: AttributeGraph.Attribute) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public protocol _AttributeBody { + static func _destroySelf(_ value: Swift.UnsafeMutableRawPointer) + static var _hasDestroySelf: Swift.Bool { get } + static func _updateDefault(_ value: Swift.UnsafeMutableRawPointer) + static var comparisonMode: AGComparisonMode { get } +} +extension AttributeGraph._AttributeBody { + public static func _destroySelf(_ value: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } + public static func _updateDefault(_ value: Swift.UnsafeMutableRawPointer) + public static var comparisonMode: AGComparisonMode { get } +} +public protocol Rule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + var value: Self.Value { get } +} +extension AttributeGraph.Rule { + public static var initialValue: Self.Value? { + get + } +} +public func compareValues(_ lhs: A, _ rhs: A, mode: AGComparisonMode = ._3) -> Swift.Bool \ No newline at end of file diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface b/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface similarity index 100% rename from Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface rename to Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/arm64e-apple-macos.swiftinterface diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface b/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface new file mode 100644 index 0000000..5362098 --- /dev/null +++ b/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/AttributeGraph.swiftmodule/x86_64-apple-macos.swiftinterface @@ -0,0 +1,66 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-macos12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name AttributeGraph +// swift-module-flags-ignorable: -enable-bare-slash-regex +@_exported import AttributeGraph +import Foundation +import Swift +import _Concurrency +import _StringProcessing +@frozen @propertyWrapper @dynamicMemberLookup public struct Attribute : Swift.Hashable, Swift.Equatable, Swift.CustomStringConvertible { + public var identifier: AttributeGraph.AGAttribute + public var wrappedValue: Value { + get + set + } + + @inlinable public init(identifier: AttributeGraph.AGAttribute) { + self.identifier = identifier + } + + @inlinable public init(_ attribute: AttributeGraph.Attribute) { + self = attribute + } + + public subscript(dynamicMember keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + + public subscript(keyPath: Swift.KeyPath) -> AttributeGraph.Attribute { + get + } + + public var description: Swift.String { + get + } + public static func == (lhs: AttributeGraph.Attribute, rhs: AttributeGraph.Attribute) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public protocol _AttributeBody { + static func _destroySelf(_ value: Swift.UnsafeMutableRawPointer) + static var _hasDestroySelf: Swift.Bool { get } + static func _updateDefault(_ value: Swift.UnsafeMutableRawPointer) + static var comparisonMode: AGComparisonMode { get } +} +extension AttributeGraph._AttributeBody { + public static func _destroySelf(_ value: Swift.UnsafeMutableRawPointer) + public static var _hasDestroySelf: Swift.Bool { + get + } + public static func _updateDefault(_ value: Swift.UnsafeMutableRawPointer) + public static var comparisonMode: AGComparisonMode { get } +} +public protocol Rule : AttributeGraph._AttributeBody { + associatedtype Value + static var initialValue: Self.Value? { get } + var value: Self.Value { get } +} +extension AttributeGraph.Rule { + public static var initialValue: Self.Value? { + get + } +} +public func compareValues(_ lhs: A, _ rhs: A, mode: AGComparisonMode = ._3) -> Swift.Bool \ No newline at end of file diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Modules/module.modulemap b/Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/module.modulemap similarity index 100% rename from Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/Modules/module.modulemap rename to Sources/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Modules/module.modulemap diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/AttributeGraph b/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/AttributeGraph deleted file mode 120000 index 3756c45..0000000 --- a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/AttributeGraph +++ /dev/null @@ -1 +0,0 @@ -./AttributeGraph-14_0 \ No newline at end of file diff --git a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/AttributeGraph-14_0 b/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/AttributeGraph-14_0 deleted file mode 100644 index 236e7d6..0000000 Binary files a/Sources/AttributeGraph.xcframework/macos-arm64e/AttributeGraph.framework/AttributeGraph-14_0 and /dev/null differ diff --git a/Sources/OpenGraphCompatibility/GraphShims.swift b/Sources/OpenGraphCompatibility/GraphShims.swift new file mode 100644 index 0000000..f01fead --- /dev/null +++ b/Sources/OpenGraphCompatibility/GraphShims.swift @@ -0,0 +1,12 @@ +// +// GraphShims.swift +// +// +// Created by Kyle on 2023/12/21. +// + +#if OPENGRAPH_COMPATIBILITY_TEST +@_exported import AttributeGraph +#else +@_exported import OpenGraph +#endif diff --git a/Tests/OpenGraphCompatibilityTests/AGCompareValuesTests.swift b/Tests/OpenGraphCompatibilityTests/OGCompareValuesTests.swift similarity index 96% rename from Tests/OpenGraphCompatibilityTests/AGCompareValuesTests.swift rename to Tests/OpenGraphCompatibilityTests/OGCompareValuesTests.swift index 4654249..62b78fc 100644 --- a/Tests/OpenGraphCompatibilityTests/AGCompareValuesTests.swift +++ b/Tests/OpenGraphCompatibilityTests/OGCompareValuesTests.swift @@ -1,5 +1,5 @@ // -// AGCompareValuesTests.swift +// OGCompareValuesTests.swift // // // Created by Kyle on 2023/12/20. @@ -12,7 +12,7 @@ import AttributeGraph import OpenGraph #endif -final class AGCompareValuesTests: XCTestCase { +final class OGCompareValuesTests: XCTestCase { override func setUp() async throws { #if !OPENGRAPH_COMPATIBILITY_TEST throw XCTSkip("OG implementation for compareValues is not ready") diff --git a/Tests/OpenGraphCompatibilityTests/README.md b/Tests/OpenGraphCompatibilityTests/README.md index bdca1ef..60931f2 100644 --- a/Tests/OpenGraphCompatibilityTests/README.md +++ b/Tests/OpenGraphCompatibilityTests/README.md @@ -2,6 +2,11 @@ Test public API of OpenGraph and run it against with AttributeGraph on Apple Platform. +The current supported OS +- macOS 13 (CI Supported) +- macOS 14 (GitHub Runner not ready) +- iOS 15 ~ 17 on Simulator (CI is not supported) + ```swift #if OPENGRAPH_COMPATIBILITY_TEST import AttributeGraph