From 99809cef6e0b0df815b7c678e707885a26c1b49a Mon Sep 17 00:00:00 2001 From: Florian Friedrich Date: Fri, 25 Sep 2020 19:51:13 +0200 Subject: [PATCH] Remove watch build from package --- .github/workflows/master-deploy.yml | 9 --------- .github/workflows/pull-request-tests.yml | 9 --------- __test__/TestPackage/Package.swift | 4 +--- .../Tests/TestPackageTests/TestPackageTests.swift | 4 ---- 4 files changed, 1 insertion(+), 25 deletions(-) diff --git a/.github/workflows/master-deploy.yml b/.github/workflows/master-deploy.yml index 4a9ebdb..fdbf2c5 100644 --- a/.github/workflows/master-deploy.yml +++ b/.github/workflows/master-deploy.yml @@ -106,15 +106,6 @@ jobs: - platform=tvOS Simulator,OS=latest,name=Apple TV 4K action: [ test ] use-xcpretty: [ true, false ] - include: - - destination: platform=watchOS Simulator,OS=latest,name=Apple Watch Series 5 - 44mm - skip-testing: '' - action: build - use-xcpretty: true - - destination: platform=watchOS Simulator,OS=latest,name=Apple Watch Series 5 - 44mm - skip-testing: '' - action: build - use-xcpretty: false steps: - run: sudo xcode-select -s /Applications/Xcode_12.app/Contents/Developer - uses: actions/checkout@v2 diff --git a/.github/workflows/pull-request-tests.yml b/.github/workflows/pull-request-tests.yml index 56c7203..2874e5e 100644 --- a/.github/workflows/pull-request-tests.yml +++ b/.github/workflows/pull-request-tests.yml @@ -92,15 +92,6 @@ jobs: - platform=tvOS Simulator,OS=latest,name=Apple TV 4K action: [ test ] use-xcpretty: [ true, false ] - include: - - destination: platform=watchOS Simulator,OS=latest,name=Apple Watch Series 5 - 44mm - skip-testing: '' - action: build - use-xcpretty: true - - destination: platform=watchOS Simulator,OS=latest,name=Apple Watch Series 5 - 44mm - skip-testing: '' - action: build - use-xcpretty: false steps: - run: sudo xcode-select -s /Applications/Xcode_12.app/Contents/Developer - name: Install dependencies diff --git a/__test__/TestPackage/Package.swift b/__test__/TestPackage/Package.swift index 47da6e2..7df69ed 100644 --- a/__test__/TestPackage/Package.swift +++ b/__test__/TestPackage/Package.swift @@ -20,9 +20,7 @@ let package = Package( targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages this package depends on. - .target( - name: "TestPackage", - dependencies: []), + .target(name: "TestPackage"), .testTarget( name: "TestPackageTests", dependencies: ["TestPackage"]), diff --git a/__test__/TestPackage/Tests/TestPackageTests/TestPackageTests.swift b/__test__/TestPackage/Tests/TestPackageTests/TestPackageTests.swift index 351d41a..f1d7d3a 100644 --- a/__test__/TestPackage/Tests/TestPackageTests/TestPackageTests.swift +++ b/__test__/TestPackage/Tests/TestPackageTests/TestPackageTests.swift @@ -8,8 +8,4 @@ final class TestPackageTests: XCTestCase { // results. XCTAssertEqual(TestPackage().text, "Hello, World!") } - - static var allTests = [ - ("testExample", testExample), - ] }